unit-threaded ~0_7_50 (2022-02-10T13:04:23.2132007)
Dub
Repo
isApproxEqual
unit_threaded
should
Undocumented in source. Be warned that the author may not have intended to support it.
bool
isApproxEqual
(
V
E
)
(
in
V
value
,
in
E
expected
)
if
(
!
isObject
!
V
&&
(
isFloatingPoint
!
V
||
isFloatingPoint
!
E
)
&&
is
(
typeof
(
value
==
expected
) ==
bool
)
)
Meta
Source
See Implementation
unit_threaded
should
classes
UnitTestException
enums
isLikeAssociativeArray
functions
be
convertToString
fail
isApproxEqual
isEqual
should
shouldApproxEqual
shouldBeEmpty
shouldBeFalse
shouldBeGreaterThan
shouldBeIn
shouldBeNull
shouldBeSameJsonAs
shouldBeSameSetAs
shouldBeSmallerThan
shouldBeTrue
shouldEqual
shouldNotBeEmpty
shouldNotBeIn
shouldNotBeNull
shouldNotBeSameSetAs
shouldNotEqual
shouldNotThrow
shouldThrow
shouldThrowExactly
shouldThrowWithMessage
templates
IsField