module

Microtest::PowerAssert

Instance methods

assert_raises(exception_type : E.class, file : String = __FILE__, line : String = __LINE__, &) forall E
Source

Macros

assert(expression)
Source
reflect(expression)
Source
reflect_tuple(expression)

In order to evaluate the expression only once, and not multiple times, we have to return a tuple of node and value, so that the returned values can be used in calls without having to re-evaluate them.

Source

Nested types