MCPcopy
hub / github.com/CadQuery/cadquery / assertTupleAlmostEquals

Method assertTupleAlmostEquals

tests/__init__.py:50–52  ·  view source on GitHub ↗
(self, expected, actual, places, msg=None)

Source from the content-addressed store, hash-verified

48
49class BaseTest(unittest.TestCase):
50 def assertTupleAlmostEquals(self, expected, actual, places, msg=None):
51 for i, j in zip(actual, expected):
52 self.assertAlmostEqual(i, j, places, msg=msg)
53
54
55__all__ = [

Callers 15

testYZPlaneOriginsMethod · 0.80
testXYPlaneOriginsMethod · 0.80
testXZPlaneOriginsMethod · 0.80
testPlaneBasicsMethod · 0.80
testOffsetPlanesMethod · 0.80
testXYPlaneBasicsMethod · 0.80
testYZPlaneBasicsMethod · 0.80
testZXPlaneBasicsMethod · 0.80
testXZPlaneBasicsMethod · 0.80
testYXPlaneBasicsMethod · 0.80
testZYPlaneBasicsMethod · 0.80

Calls

no outgoing calls

Tested by 15

testYZPlaneOriginsMethod · 0.64
testXYPlaneOriginsMethod · 0.64
testXZPlaneOriginsMethod · 0.64
testPlaneBasicsMethod · 0.64
testOffsetPlanesMethod · 0.64
testXYPlaneBasicsMethod · 0.64
testYZPlaneBasicsMethod · 0.64
testZXPlaneBasicsMethod · 0.64
testXZPlaneBasicsMethod · 0.64
testYXPlaneBasicsMethod · 0.64
testZYPlaneBasicsMethod · 0.64