rebased off otits branch, ignore everything except trajectory.c
the concept is to check that apogeeQueue is being updated with new values, and check that those values are sane. Not sure how valid/useful/relevant this test is ngl. advice pls help
it's possible that two consecutive apogeeQueue values are identical (which the test interprets as a frozen queue) but I think that would be highly unlikely since the type is float?
the bounds for apogee are [0, 20000], the 20000 is completely arbitrary. what's the highest value this thing could produce and still be considered functional?
the core apogee calculation code should prob be unit tested but we don't have unit tests. Would it be appropriate to shove a "unit test" in a otits?
rebased off otits branch, ignore everything except
trajectory.c
the concept is to check that
apogeeQueue
is being updated with new values, and check that those values are sane. Not sure how valid/useful/relevant this test is ngl. advice pls helpapogeeQueue
values are identical (which the test interprets as a frozen queue) but I think that would be highly unlikely since the type isfloat
?