* add kcl code to coredump Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fix ts Signed-off-by: Jess Frazelle <github@jessfraz.com> * new images Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
26 KiB
26 KiB
title, excerpt, layout
| title | excerpt | layout |
|---|---|---|
| assertEqual | Check that a numerical value equals another at runtime, | manual |
Check that a numerical value equals another at runtime,
otherwise raise an error.
assertEqual(left: number, right: number, epsilon: number, message: string) -> ()
Examples
let n = 1.0285
let m = 1.0286
assertEqual(n, m, 0.01, "n is within the given tolerance for m")
Arguments
left:number(REQUIRED)right:number(REQUIRED)epsilon:number(REQUIRED)message:string(REQUIRED)
Returns
()