klyn.unittest.Assert.assertEquals
method

    public static assertEquals(expected as Double, actual as Double, delta as Double) as Void:

Description

Verifies that two double values are equal within a tolerance.

Parameters

Parameter | Description
--- | ---
`expected` | The expected value.
`actual` | The actual value.
`delta` | The accepted absolute difference.

Example

    import klyn.unittest

    Assert.assertEquals(3.141592653589793, 3.14159265358979, 1e-12)