def test_necessary_condition_for_not_bisymmetric_is_met(self): not_bisymmetric_matrix = BisymmetricMatrix() not_bisymmetric_matrix.init_matrix([[1, 2, 3], [2, 3, 2], [2, 2, 1]]) self.assertTrue( not_bisymmetric_matrix.necessary_condition_for_bisymmetric())
def test_0_size_matrix(self): empty_matrix = BisymmetricMatrix() empty_matrix.init_matrix([]) self.assertTrue(empty_matrix.necessary_condition_for_bisymmetric())