unit testing movement predictor

Jump to navigation Jump to search
Revision as of 15 November 2012 at 19:29.
This is the thread's initial revision.

unit testing movement predictor

I posted what I used to test my prediction here: User:Voidious/LocationBot. Basically it's a bot that records its movement along a bunch of random paths and prints the input (start location / heading / velocity, movement commands) and output (final location / heading) that you'd need to pass to a precise prediction unit test. (Actually it prints the actual method call so you can just copy/paste it into a unit test, if you sync it up with your method name and parameter list.)

    Voidious21:29, 15 November 2012