Closed ajscimone closed 4 years ago
@ajscimone Let's add a couple of unit tests in this repo to ensure we're getting the right output back. You can more-or-less use the same cases we used for EnergyPlus.
@nealkruis unit tests should now be added for scalar return functionality for both btwxt itself and GridPoints. There are two unit tests apiece, adding four total to the library. I have created a new test fixture named "TwoDSimpleNormalizationFixture" which is a 2D fixture which has very simple data corresponding to a f(x,y)=x*y
type linear function to make this testing simpler and easy to read/understand. I am currently testing that both a single scalar target and a compound scalar are normalizing and returning correctly. Please take a look and let me know if you find these satisfactory, if they need cleaned up stylistically, or if tests should be expanded further.
Codecov Report
11.11% <ø> (ø)
0% <ø> (ø)
71.05% <100%> (+7.89%)
90.5% <80%> (+1.24%)
Continue to review full report at Codecov.