Hi,
I've analysed your code base and noticed that com.ardor3d.math.MathUtils is not fully tested. This is according to IntelliJ's internal coverage runner.
I've written tests for the functions in this classes with the help of DiffblueCover. Hopefully, they should help you detect any regressions caused by future code changes. Given that many of the functions in this class can be run with either FastMath or regular math, I have written the tests here to describe the behaviour of these functions whether the useFastMath boolean is set to true or false.
I will note that the FastMath implementation of tan() seems to yield considerably different results from its regular math counterpart. I wasn't sure if this is considered a bug or not.
If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.
Hi, I've analysed your code base and noticed that
com.ardor3d.math.MathUtils
is not fully tested. This is according to IntelliJ's internal coverage runner.I've written tests for the functions in this classes with the help of Diffblue Cover. Hopefully, they should help you detect any regressions caused by future code changes. Given that many of the functions in this class can be run with either
FastMath
or regular math, I have written the tests here to describe the behaviour of these functions whether theuseFastMath
boolean is set to true or false.I will note that the
FastMath
implementation oftan()
seems to yield considerably different results from its regular math counterpart. I wasn't sure if this is considered a bug or not.If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.