module Minitest::Expectations

Overview

TODO must_raise / must_raise(class_name)

Direct including types

Defined in:

expectations.cr

Instance Method Summary

Instance Method Detail

def must_be_close_to(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_empty(message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_instance_of(obj, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_nil(message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_same_as(expected, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_equal(expected, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_include(obj, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def must_match(pattern, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_close_to(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_empty(message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_instance_of(obj, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_nil(message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_same_as(expected, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_equal(expected, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_include(obj, message = nil, file = __FILE__, line = __LINE__) #

[View source]
def wont_match(pattern, message = nil, file = __FILE__, line = __LINE__) #

[View source]