Skip to content
FutureBlitz

    Install

    Import std.core.assert

    std.core.assert

    AssertEqual: an Assert that says what it compared. Assert, DebugAssert, Unreachable, Todo, and Panic are built in, since the compiler leaves a DebugAssert out of release builds, and knows the others end the code there.

    std/core/assert.fb

    Functions

    AssertEqual function

    @PanicsAtCaller Public Function AssertEqual<T>(actual: T, expected: T, message: String = "")

    Panics when actual isn't expected, saying what each is, after the message when there's one.

    std/core/assert.fb, line 9

    Report an issue with this page or with FutureBlitz on GitHub.