MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / assert_object

Method assert_object

easygraph/tests/script_test_cpp_easygraph.py:59–66  ·  view source on GitHub ↗
(self, o1, o2)

Source from the content-addressed store, hash-verified

57 return r1, r2
58
59 def assert_object(self, o1, o2):
60 if not fuzzy_equal(o1, o2):
61 print(f"o1: {o1}")
62 print(f"o2: {o2}")
63 raise AssertionError(
64 f"FAILED: o1 != o2 in test for {self.class1.__name__} and"
65 f" {self.class2.__name__}"
66 )
67
68 def assert_property(self, name, g1=None, g2=None):
69 if g1 is None:

Callers 3

assert_propertyMethod · 0.95
assert_methodMethod · 0.95
testMethod · 0.95

Calls 1

fuzzy_equalFunction · 0.70

Tested by

no test coverage detected