MCPcopy Index your code
hub / github.com/geekcomputers/Python / test__eq__matrix

Method test__eq__matrix

linear-algebra-python/src/tests.py:165–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163 self.assertFalse(x == y)
164
165 def test__eq__matrix(self):
166 A = Matrix([[1, 2, 3], [2, 4, 5], [6, 7, 8]], 3, 3)
167 B = Matrix([[1, 2, 7], [2, 4, 5], [6, 7, 10]], 3, 3)
168 self.assertTrue(A == A)
169 self.assertFalse(A == B)
170
171
172if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

MatrixClass · 0.85

Tested by

no test coverage detected