I know I should have done this earlier but we should write some tests. There are a few Javascript Testframeworks. We can also write simple assert tests ourselves.
What needs testing?
the Graph ( especially once we introduce more complex rules )
the Vector class ( to fix some odd behaviour across multiple engines
each statemachine
and more
nice would be a test suite that displays a set of value which we then can compare between different platforms.
I know I should have done this earlier but we should write some tests. There are a few Javascript Testframeworks. We can also write simple assert tests ourselves.
What needs testing?
nice would be a test suite that displays a set of value which we then can compare between different platforms.