summaryrefslogtreecommitdiff
path: root/src/unittest.h
diff options
context:
space:
mode:
authormbkma <[email protected]>2019-05-02 16:08:32 +0200
committerraveit65 <[email protected]>2019-05-07 21:13:40 +0200
commit1ae401a28e2730c8fc2d6ae8e0deb553562870f4 (patch)
tree27a34be2805ea081e3663a3737de9647c28f824f /src/unittest.h
parent19b26a1e2d6e5edb55b37300d326e5a2ec90cdbb (diff)
downloadmate-calc-1ae401a28e2730c8fc2d6ae8e0deb553562870f4.tar.bz2
mate-calc-1ae401a28e2730c8fc2d6ae8e0deb553562870f4.tar.xz
test-mp-equation: add tests for physical constants
It was necessary to change the test() function as well, in order to have variable trailing_digits size. Otherwise most constants would be shown as zero. So there is a "#define test(X, Y, Z) Test(X, Y, Z, 9)". Now test() works with trailing_digits size 9, and Test() with a variable trailing_digit size.
Diffstat (limited to 'src/unittest.h')
0 files changed, 0 insertions, 0 deletions