Next: , Previous: , Up: Octave Functions and Scripts   [Contents][Index]


5.101 test_io

Function File: [success_tests total_tests] = test_io(path_testing_folder)

Perform integration tests for all functions which rely on input and output data. The functions have to be hard coded in this script and rely on validated output data. The storage and parsing process of objects is a little bit tricky. At first, all objects have to converted into structed and stored to a file. After the structs from the file have been parsed, all structe have to converted back again into objects using constructor and set methods. See section B.2 for an example.