Index of /www001/src/ports/textproc/p5-Text-NSP/work/Text-NSP-1.03/Testing/split-data
Name Last modified Size Description
Parent Directory 16-Sep-2006 08:17 -
error-handling.sh 24-Mar-2006 20:21 1k
normal-op.sh 24-Mar-2006 20:21 1k
test-A1.data 09-Aug-2005 21:38 3k
test-A1.data1.reqd 09-Aug-2005 21:38 1k
test-A1.data2.reqd 09-Aug-2005 21:38 1k
test-A1.data3.reqd 09-Aug-2005 21:38 2k
test-A2.data 09-Aug-2005 21:38 2k
test-A2.data1.reqd 09-Aug-2005 21:38 1k
test-A2.data2.reqd 09-Aug-2005 21:38 1k
test-A2.data3.reqd 09-Aug-2005 21:38 1k
test-A3.data 09-Aug-2005 21:38 3k
test-A3.data1.reqd 09-Aug-2005 21:38 3k
test-A4.data 09-Aug-2005 21:38 1k
test-A4.data1.reqd 09-Aug-2005 21:38 1k
test-A4.data2.reqd 09-Aug-2005 21:38 1k
test-A4.data3.reqd 09-Aug-2005 21:38 1k
test-A4.data4.reqd 09-Aug-2005 21:38 1k
test-B1.data 09-Aug-2005 21:38 3k
test-B1.reqd 09-Aug-2005 21:38 1k
testA1.sh 09-Aug-2005 21:38 1k
testA2.sh 09-Aug-2005 21:38 1k
testA3.sh 09-Aug-2005 21:38 1k
testA4.sh 09-Aug-2005 21:38 1k
testB1.sh 09-Aug-2005 21:38 1k
*******************************************************************************
README.txt FOR Testing split-data.pl
Version 0.01
Copyright (C) 2002-2004
Ted Pedersen, tpederse@umn.edu
Amruta Purandare pura0010@d.umn.edu
University of Minnesota, Duluth
http://www.d.umn.edu/~tpederse/nsp.html
*******************************************************************************
Testing for split-data.pl
------------------------
AMRUTA PURANDARE
pura0010@d.umn.edu
02/23/2004
1. Introduction:
----------------
This program is a component of the N-gram Statistics Package that splits
a given big data file into smaller parts.
The scripts and files provided here could be used to test the correct
behaviour of the program and backward compatibility.
2. Tests:
----------
2.1 Normal conditions:
----------------------
Tests written in testA*.sh test split-data.pl under normal conditions.
Run normal-op.sh to run all test cases testA*.sh
Test A1: Tests split-data when each part has exactly same #lines
In other words, #lines/#parts is a whole number
Test A2: Tests split-data when #lines/#parts > 1
Test A3: Tests split-data when #parts = 1
Test A4: Tests split-data when #parts = #lines or #lines/#parts = 1
2.2 Error conditions:
----------------------
Tests written in testB*.sh test split-data.pl under error conditions.
Run error-op.sh to run all test cases testB*.sh
Test B1: Tests split-data when #parts > #lines or #lines/#parts < 1
3. Conclusions:
---------------
We have tested program split-data.pl enough to conclude that it runs correctly.
We have also provided the test scripts so that future versions of
split-data.pl can be compared to the current version against these scripts.