Commit Graph

2 Commits

Author SHA1 Message Date
Marco Lizza
e70d6411fb fix: correct fraction and truncate test expectations for negative zero and large values
- Update fraction.wren test to cover edge cases for negative zero, small fractions, and large mantissa approximations
- Fix truncate.wren expected output for negative zero cases from 0 to -0
- Add truncate tests for large 32-bit representation values with approximation notes
2015-03-05 10:24:54 +00:00
Marco Lizza
11911826ff test: add test files for decimal, div, sign, and truncate methods on Number
Add four new test files covering edge cases for Number methods:
- decimal.wren tests fractional part extraction including negative zero
- div.wren tests integer division behavior with mixed integer/float operands
- sign.wren tests sign determination including zero and negative zero
- truncate.wren tests truncation of positive and negative numbers
2015-03-04 15:12:08 +00:00