Commit b32472eb authored by Max Lyon's avatar Max Lyon

added test script for vtk reader and open volume mesh

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16426 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 11b6a4a4
var file = @FILEPLUGIN@.loadObject("@OPENFLIPPER_TEST_FILES@/@TEST_FILE@");
var name = datacontrol.getObjectName(file);
var vertexCount = infovolumemeshobject.vertexCount(file);
var edgeCount = infovolumemeshobject.edgeCount(file);
var faceCount = infovolumemeshobject.faceCount(file);
var cellCount = infovolumemeshobject.cellCount(file)
printToFile("@OUTPUT_TEST_DATA_FILE@","TESTNAME=@TESTNAME@");
printToFile("@OUTPUT_TEST_DATA_FILE@","LOADEDFILE=@OPENFLIPPER_TEST_FILES@/@TEST_FILE@");
printToFile("@OUTPUT_TEST_DATA_FILE@","OBJECTNAME=",name);
printToFile("@OUTPUT_TEST_DATA_FILE@","VERTEXCOUNT=",vertexCount);
printToFile("@OUTPUT_TEST_DATA_FILE@","EDGECOUNT=",edgeCount);
printToFile("@OUTPUT_TEST_DATA_FILE@","FACECOUNT=",faceCount);
printToFile("@OUTPUT_TEST_DATA_FILE@","CELLCOUNT=",cellCount);
core.exitApplication();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment