NLESC-JCER / cpp2wasm

Guide to make C++ available as a web application
https://nlesc-jcer.github.io/cpp2wasm/
Apache License 2.0
22 stars 6 forks source link

Add assert for test of plot example #55

Open sverhoeven opened 4 years ago

sverhoeven commented 4 years ago

The src/js/example-plot.html is tested in https://github.com/NLESC-JCER/cpp2wasm/blob/master/TESTING.md, but there is no check if the plot has been drawn correctly.

Testing is hard due to vega rendering to canvas and different duration's each run

fdiblen commented 4 years ago

Maybe we can export the chart data and check this in a test.