Extension of streamtest for files
Make it possible to load test data from files.
package test;
stream Connector_Stream for Connector {
image1: file::Image_1.png tick file::Image_7.png
image2: file::Image_2.png tick file::Image_8.png
image3: file::Image_3.png tick file::Image_9.png
image4: file::Image_4.png tick file::Image_1.png
image5: file::Image_5.png tick file::Image_0.png
image6: file::Image_6.png tick file::Image_2.png tick ...
res: 579 tick 891;
}
The keyword file
means that the data should be load from a file.
In the first iteration we only deal with pictures.
If the picture is used as input data, use code similar to
example.
Additionaly check that the image has the right size according to the EMADL model.