Shouldn't be too difficult — can fetch a list of graph states to test from URLs like http://saved-work.desmos.com/calc-states/production/znvwjvv8wg from the README then call Calc.setState(state) on each. Generate test rig code that can be pasted into the browser console or maybe load desmos.com in an iframe.
Main desire would be to get 100% line coverage from tests. A few days back, I pushed a commit that accidentally renamed Dodecahedron to Dodeahedron; that would be caught by a test that covers the DodecahedronGeometry class by drawing a dodecahedron.
Shouldn't be too difficult — can fetch a list of graph states to test from URLs like http://saved-work.desmos.com/calc-states/production/znvwjvv8wg from the README then call
Calc.setState(state)
on each. Generate test rig code that can be pasted into the browser console or maybe load desmos.com in an iframe.Main desire would be to get 100% line coverage from tests. A few days back, I pushed a commit that accidentally renamed
Dodecahedron
toDodeahedron
; that would be caught by a test that covers theDodecahedronGeometry
class by drawing a dodecahedron.