The OpenD Programming Language

mir.test

Testing utilities

Members

Functions

should
void should(T value, R expected, string file, int line)
Should!T should(T value)
shouldApprox
ShouldApprox!T shouldApprox(T value, T maxRelDiff, T maxAbsDiff)
ShouldApprox!(T, F) shouldApprox(T value, F maxRelDiff, F maxAbsDiff)

Structs

Should
struct Should(T)
ShouldApprox
struct ShouldApprox(T, F = T)

Meta

Authors

Ilya Yaroshenko