Assignment 1 tests available.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


Your assignments haven't been graded yet; do not get in touch with me to find
out what your assignment grade is, or to speculate about what your assignment
grade might be. I'll let you know when your assignments have been graded.

I've made my assignment 1 testing code available in

  /export/home/class/cs-509/pa1/test-code

to use it, change to the directory containing your implementation of assignment
1 (which must be called count-tuples) and run code-test. Your output should
look something like this:

  $ ls -l count-tuples
  -rwx------ 1 rclayton faculty 790876 Sep 6 12:44 count-tuples

  $ /export/home/class/cs-509/pa1/test-code
  empty test

  big-word test

  single singletons test

  real 0m1.93s
  user 0m0.61s
  sys 0m1.04s

  single multiples test

  real 0m3.93s
  user 0m1.07s
  sys 0m2.10s

  multiple singletons test

  real 0m0.60s
  user 0m0.17s
  sys 0m0.31s

  multiple multiples test

  real 0m0.83s
  user 0m0.17s
  sys 0m0.55s

  eof abuse test

  $

Briefly, the tests are

  empty test - any program you write should be able to handle the empty input
    without problems.

  big-word test - a couple of people used fixed-length char arrays to hold
    words; this test crashes their programs.

  single singletons test - asking for n-tuples on an imput of m different words
    should result in m - n + 1 output lines.

  single multiples test - asking for n-tuples on an input of n identical words
    should result in m - n + 1 identical n-tuples.

  multiple singletons test - asking for n1-tuples through m2-tuples on an imput
    of m different words should result in m - n1 + 1 + ... + m - n2 + 1output
    lines.

  multiple multiples test - asking for n1-tuples through n2-tuples on an input
    of n identical words should result in m - n1 + 1, . . ., m - n2 + 1
    identical n-tuples.

  eof abuse test - a couple of people didn't use test for eof correctly; this
    test points out the error of their ways.
  
  $



This archive was generated by hypermail 2.0b3 on Fri Dec 21 2001 - 17:00:04 EST