MCPcopy Create free account
hub / github.com/ElementsProject/elements / assert_equal

Function assert_equal

test/functional/test_framework/util.py:61–63  ·  view source on GitHub ↗
(thing1, thing2, *args)

Source from the content-addressed store, hash-verified

59
60
61def assert_equal(thing1, thing2, *args):
62 if thing1 != thing2 or any(thing1 != arg for arg in args):
63 raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
64
65
66def assert_greater_than(thing1, thing2):

Callers 15

test_null_locatorsMethod · 0.90
test_nonnull_locatorsMethod · 0.90
run_testMethod · 0.90
test_change_positionMethod · 0.90
test_simple_two_coinsMethod · 0.90
test_changeMethod · 0.90
test_no_changeMethod · 0.90
test_invalid_optionMethod · 0.90

Calls 1

joinMethod · 0.45

Tested by 15

test_null_locatorsMethod · 0.72
test_nonnull_locatorsMethod · 0.72
test_change_positionMethod · 0.72
test_simple_two_coinsMethod · 0.72
test_changeMethod · 0.72
test_no_changeMethod · 0.72
test_invalid_optionMethod · 0.72
test_change_typeMethod · 0.72
test_coin_selectionMethod · 0.72