Module fr.epardaud.test

A test framework

By: Stéphane Épardaud
Packages
PackageDescription
fr.epardaud.testfr.epardaud.test

Package fr.epardaud.test

Methods
Modifier and TypeMethod and Description
shared VoidassertEquals(Object? a, Object? b, String? title)

Checks that two objects are equal, with optional title

shared VoidassertTrue(Boolean test, String? title)

Checks that a value is true, with optional title

shared Voidfail(String? title)

Fail, with optional title

shared VoidprintResults()

Print test results

shared Voidtest(Void f, String? title, String? expectException)

Invokes the given test function, with optional title and expected exception