hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

assert-equal

Asserts that two values are equal when converted to the specified type and displays a test result
Parameter
Type
Description
self
T
The first value to compare
value
T
The second value to compare
type
type
The type to convert both values to before comparison
text
string
Optional custom message to display in the test result
return
void
Displays a test result element showing pass or fail status with comparison details