Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassSanity
Asserts run
Pass
assert_equals("2", "2")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassBasic division works
Asserts run
Pass
assert_equals("2", "2")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassRounds up if fractional part is >= 0.5
Asserts run
Pass
assert_equals("1", "1")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassAccepts numbers, and rounds
Asserts run
Pass
assert_equals("1", "1")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassOperation between <integer> and <number> works
Asserts run
Pass
assert_equals("3", "3")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassRounds down if fractional part is < 0.5
Asserts run
Pass
assert_equals("0", "0")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)
PassOnly rounds at the end of the conversion
Asserts run
Pass
assert_equals("1", "1")
    at Test.<anonymous> ( /css/css-values/calc-integer.html:55:5)