byte-physics / igortest

Igor Pro Universal Testing Framework
https://docs.byte-physics.de/igor-unit-testing-framework/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

CHECK_EQUAL_VAR: Does not output all digits #292

Closed t-b closed 2 years ago

t-b commented 2 years ago
Function Test()

    CHECK_EQUAL_VAR(0, 4176492706)
End

gives

•runtest("procedure")
  Start of test "Unnamed"
  Entering test suite "Procedure"
  Entering test case "Test"
  0 == 4.17649e+09: is false. Assertion "CHECK_EQUAL_VAR(0, 4176492706)" failed in line 39, procedure "Procedure"
  Leaving test case "Test"
  Failed with 1 errors
  Leaving test suite "Procedure"
  Test finished with 1 errors
  End of test "Unnamed"