Pass | truthy values | Asserts runPass | 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) |
|
Pass | false is a falsy value | Asserts runFail | assert_implements_optional(false)
at /resources/test/tests/unit/assert_implements_optional.html:21:3 |
|
Pass | 0 is a falsy value | Asserts runFail | assert_implements_optional(0)
at /resources/test/tests/unit/assert_implements_optional.html:25:3 |
|
Pass | empty string is a falsy value | Asserts runFail | assert_implements_optional("")
at /resources/test/tests/unit/assert_implements_optional.html:29:3 |
|
Pass | null is a falsy value | Asserts runFail | assert_implements_optional(null)
at /resources/test/tests/unit/assert_implements_optional.html:33:3 |
|
Pass | undefined is a falsy value | Asserts runFail | assert_implements_optional(undefined)
at /resources/test/tests/unit/assert_implements_optional.html:37:3 |
|
Pass | NaN is a falsy value | Asserts runFail | assert_implements_optional(NaN)
at /resources/test/tests/unit/assert_implements_optional.html:41:3 |
|