DateTimeInterval module tests

Constructor

new ()

Methods

testComparison ():Void

Test interval comparison

testCreate ():Void

Test interval creation

testFormat ():Void

Test DateTimeInterval.format()

testMath ():Void

Test interval math

Inherited Variables

Defined by TestCase

currentTest:TestStatus

The current test status of the TestRunner.

Inherited Methods

Defined by TestCase

assertEquals<T> (expected:T, actual:T, ?c:PosInfos):Void

Succeeds if expected and actual are equal.

assertFalse (b:Bool, ?c:PosInfos):Void

Succeeds if b is false.

assertTrue (b:Bool, ?c:PosInfos):Void

Succeeds if b is true.

setup ():Void

Override this method to execute code before the test runs.

tearDown ():Void

Override this method to execute code after the test ran.