Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
Passtruthy values
Asserts run
Pass
assert_implements_optional(true, "true is a truthy value")
    at Test.<anonymous> ( /resources/test/tests/unit/assert_implements_optional.html:14:3)
Pass
assert_implements_optional(5, "positive integeter is a truthy value")
    at Test.<anonymous> ( /resources/test/tests/unit/assert_implements_optional.html:15:3)
Pass
assert_implements_optional(-5, "negative integeter is a truthy value")
    at Test.<anonymous> ( /resources/test/tests/unit/assert_implements_optional.html:16:3)
Pass
assert_implements_optional("foo", "non-empty string is a truthy value")
    at Test.<anonymous> ( /resources/test/tests/unit/assert_implements_optional.html:17:3)
Passfalse is a falsy value
Asserts run
Fail
assert_implements_optional(false)
    at  /resources/test/tests/unit/assert_implements_optional.html:21:3
Pass0 is a falsy value
Asserts run
Fail
assert_implements_optional(0)
    at  /resources/test/tests/unit/assert_implements_optional.html:25:3
Passempty string is a falsy value
Asserts run
Fail
assert_implements_optional("")
    at  /resources/test/tests/unit/assert_implements_optional.html:29:3
Passnull is a falsy value
Asserts run
Fail
assert_implements_optional(null)
    at  /resources/test/tests/unit/assert_implements_optional.html:33:3
Passundefined is a falsy value
Asserts run
Fail
assert_implements_optional(undefined)
    at  /resources/test/tests/unit/assert_implements_optional.html:37:3
PassNaN is a falsy value
Asserts run
Fail
assert_implements_optional(NaN)
    at  /resources/test/tests/unit/assert_implements_optional.html:41:3