[Bprocessor-commit] test normals.sh,NONE,1.1 test.sh,1.2,1.3
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2006-12-07 00:24:53
|
Update of /cvsroot/bprocessor/test In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26131 Modified Files: test.sh Added Files: normals.sh Log Message: Preserves ordering of created surfaces in extrusion Added test of normal calculations as preperation for improved version Index: test.sh =================================================================== RCS file: /cvsroot/bprocessor/test/test.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test.sh 5 Dec 2006 20:42:01 -0000 1.2 --- test.sh 7 Dec 2006 00:24:45 -0000 1.3 *************** *** 4,7 **** --- 4,9 ---- CLASS="net.sourceforge.bprocessor.test.LoadSave" + echo ' * load/save' + java -cp ${CLASSPATH} ${CLASS} input/model1.xml output/output1.xml java -cp ${CLASSPATH} ${CLASS} output/output1.xml output/output2.xml *************** *** 9,11 **** --- 11,17 ---- diff output/output1.xml output/output2.xml + echo ' * normals' + + ./normals.sh > output/normals.out + diff reference/normals.out output/normals.out --- NEW FILE: normals.sh --- #!/bin/sh CLASSPATH="dist/test.jar:lib/model.jar:lib/jaxb.jar:lib/log4j.jar" CLASS="net.sourceforge.bprocessor.test.SurfaceAngle" echo '-- normal1 --' java -cp ${CLASSPATH} ${CLASS} input/normal1.xml echo '-- normal2 --' java -cp ${CLASSPATH} ${CLASS} input/normal2.xml echo '-- normal3 --' java -cp ${CLASSPATH} ${CLASS} input/normal3.xml |