module Minitest::Expectations
Overview
TODO must_raise / must_raise(class_name)
Direct including types
Defined in:
expectations.crInstance Method Summary
- #must_be_close_to(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #must_be_empty(message = nil, file = __FILE__, line = __LINE__)
- #must_be_instance_of(obj, message = nil, file = __FILE__, line = __LINE__)
- #must_be_nil(message = nil, file = __FILE__, line = __LINE__)
- #must_be_same_as(expected, message = nil, file = __FILE__, line = __LINE__)
- #must_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #must_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #must_equal(expected, message = nil, file = __FILE__, line = __LINE__)
- #must_include(obj, message = nil, file = __FILE__, line = __LINE__)
- #must_match(pattern, message = nil, file = __FILE__, line = __LINE__)
- #wont_be_close_to(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #wont_be_empty(message = nil, file = __FILE__, line = __LINE__)
- #wont_be_instance_of(obj, message = nil, file = __FILE__, line = __LINE__)
- #wont_be_nil(message = nil, file = __FILE__, line = __LINE__)
- #wont_be_same_as(expected, message = nil, file = __FILE__, line = __LINE__)
- #wont_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #wont_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__)
- #wont_equal(expected, message = nil, file = __FILE__, line = __LINE__)
- #wont_include(obj, message = nil, file = __FILE__, line = __LINE__)
- #wont_match(pattern, message = nil, file = __FILE__, line = __LINE__)
Instance Method Detail
def must_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
#
def must_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__)
#
def wont_be_within_delta(expected, delta = 0.001, message = nil, file = __FILE__, line = __LINE__)
#
def wont_be_within_epsilon(expected, epsilon = 0.001, message = nil, file = __FILE__, line = __LINE__)
#