Set-multiset assignment test data and example execution.


R. Clayton (rclayton@monmouth.edu)
Fri, 4 Aug 2000 11:17:17 -0400 (EDT)


Here is the test-data set I used on the set-multiset assignment:

-- file starts on the next line, remove leading '-'
-From vm mon feb 7 17:07:01 2000
-content-length: -1090
-return-path: <owner-employees@sunset.monmouth.edu>
-message-id: <389f4106.bf8ad515@monmouth.edu>
-organization: monmouth university
-mime-version: 1.0
-content-type: text/plain; charset=us-ascii
-content-transfer-encoding: 7bit
-precedence: bulk
-sender: owner-employees@monmouth.edu
-to: employees@monmouth.edu, students@monmouth.edu
-subject: february 8th blood drive
-date: mon, 07 feb 2000 17:02:47 -0500
-
-one
-
-From vm mon feb 7 17:35:01 2000
-content-length: -2115
-mime-version: 1.0
-content-type: text/plain; charset="iso-8859-1"
-message-id: <95537e2ab3bdd311b6fd00a0c9a31a5115b38e@hq.acm.org>
-from: technews <technews@hq.acm.org>
-sender: acm technews early alert service <technews@listserv2.acm.org>
-to: technews@listserv2.acm.org
-subject: acm technews - monday, february 07, 2000
-date: mon, 7 feb 2000 16:24:32 -0500
-
-two
-
-From vm wed feb 9 21:38:09 2000
-content-length: -1809
-return-path: <rre@lists.gseis.ucla.edu> 9 feb 2000 15:06:05 -0800
-message-id: <200002092305.paa107846@alpha.oac.ucla.edu>
-precedence: normal
-list-software: letterrip pro 3.0.6 by fog city software, inc.
-list-subscribe: <mailto:rre-on@lists.gseis.ucla.edu>
-list-unsubscribe: <mailto:rre-off@lists.gseis.ucla.edu>
-from: phil agre <pagre@alpha.oac.ucla.edu>
-sender: <rre@lists.gseis.ucla.edu>
-to: "red rock eater news service" <rre@lists.gseis.ucla.edu>
-subject: [rre]networking on the network
-date: wed, 9 feb 2000 15:05:59 -0800 (pst)
-
-three
-
-From vm fri feb 11 17:05:01 2000
-content-length: -1104
-return-path: <owner-employees@sunset.monmouth.edu>
-message-id: <38a486fa.62b173f4@monmouth.edu>
-organization: monmouth university
-mime-version: 1.0
-content-type: multipart/mixed; boundary="------------205305ec194c94f600911eaa"
-precedence: bulk
-sender: owner-employees@monmouth.edu
-to: employees@monmouth.edu
-subject: webmail
-date: fri, 11 feb 2000 17:02:35 -0500
-
-four
-
-From vm mon feb 14 10:16:42 2000
-content-length: -1536
-return-path: <bederson@cs.umd.edu>
-mime-version: 1.0
-content-type: text/plain; charset="iso-8859-1"
-content-transfer-encoding: 7bit
-importance: normal
-to: <jazz-chat@cs.umd.edu>
-subject: drag and drop with zcanvas
-date: fri, 11 feb 2000 17:54:08 -0800
-
-five
-
-From vm mon feb 14 11:47:00 2000
-content-length: -973
-return-path: <owner-ftfaculty@sunset.monmouth.edu>
-message-id: <38a85b62.862a3a31@monmouth.edu>
-mime-version: 1.0
-content-type: text/plain; charset=us-ascii
-content-transfer-encoding: 7bit
-precedence: bulk
-reply-to: jmcglade <jmcglade@monmouth.edu>
-sender: owner-ftfaculty@monmouth.edu
-to: ftfaculty@monmouth.edu
-subject: location for service learning workshops
-date: mon, 14 feb 2000 11:45:38 -0800
-
-six
-
-From vm mon feb 14 14:07:01 2000
-content-length: -1625
-return-path: <rre@lists.gseis.ucla.edu> 14 feb 2000 10:56:09 -0800
-message-id: <200002141855.kaa72146@alpha.oac.ucla.edu>
-precedence: normal
-list-software: letterrip pro 3.0.7 by fog city software, inc.
-list-subscribe: <mailto:rre-on@lists.gseis.ucla.edu>
-list-unsubscribe: <mailto:rre-off@lists.gseis.ucla.edu>
-from: phil agre <pagre@alpha.oac.ucla.edu>
-sender: <rre@lists.gseis.ucla.edu>
-to: "red rock eater news service" <rre@lists.gseis.ucla.edu>
-subject: [rre]internet geography
-date: mon, 14 feb 2000 10:55:49 -0800 (pst)
-
-seven
-
-From vm tue feb 29 18:38:01 2000
-content-length: -1105
-return-path: <owner-employees@sunset.monmouth.edu>
-message-id: <38bc578c.18a6e847@monmouth.edu>
-organization: monmouth university
-mime-version: 1.0
-content-type: text/plain; charset=us-ascii
-content-transfer-encoding: 7bit
-precedence: bulk
-sender: owner-employees@monmouth.edu
-to: employees@monmouth.edu, students@monmouth.edu
-subject: hawk basketball
-date: tue, 29 feb 2000 18:34:36 -0500
-
-eight
-
-From vm mon feb 14 18:32:01 2000
-content-length: -1768
-return-path: <icon-group-sender@baskerville.cs.arizona.edu>
-message-id: <200002142329.qaa06527@baskerville.cs.arizona.edu>
-errors-to: icon-group-errors@cs.arizona.edu
-to: icon-group@optima.cs.arizona.edu
-subject: co-expressions and backtracking in icon (& scheme)
-date: mon, 14 feb 2000 13:36:48 -0600 (cst)
-
-nine
--file ends on the previous line; remove leading '-'

Some of you may recognize this test-data set as the first test-data set
converted to (mostly) lower case and (mostly) striped of message content.

Here's an example of a successful run:

  $ ../../tester4
  spawn readmbox ../../test-mbox-4.1
  There are 9 messages.
  * 1
  one
  * 2
  two
  * 3
  three
  * 4
  four
  * 5
  five
  * 6
  six
  * 7
  seven
  * 8
  eight
  * 9
  nine
  * 10
  Message number 10 is out of range; the valid range is [1, 9].
  * order arizona
  * 1
  4: nine
  * 2
  0: one
  * 3
  0: two
  * 4
  0: three
  * 5
  0: four
  * 6
  0: five
  * 7
  0: six
  * 8
  0: seven
  * 9
  0: eight
  * 10
  Message number 10 is out of range; the valid range is [1, 9].
  * order
  * order monmouth
  * 1
  6: one
  * 2
  6: eight
  * 3
  5: four
  * 4
  5: six
  * 5
  0: two
  * 6
  0: three
  * 7
  0: five
  * 8
  0: seven
  * 9
  0: nine
  * 10
  Message number 10 is out of range; the valid range is [1, 9].
  * q

  $

Some messages contents are preceded by n: where n is a number. This was not
part of the assignment, but added in this example to help you see what's going
on. The number n indicates how many occurrences of the search word appeared in
the message header; for example "6: one" indicates "monmouth" appeared six
times and "0: nine" indicates "monmouth" didn't appear at all.



This archive was generated by hypermail 2.0b3 on Fri Aug 11 2000 - 15:25:05 EDT