def test_is_parallel(self): c = TEMCalculator() structure = self.get_structure("Si") self.assertTrue(c.is_parallel(structure, (1, 0, 0), (3, 0, 0))) self.assertFalse(c.is_parallel(structure, (1, 0, 0), (3, 0, 1)))
def test_is_parallel(self): c = TEMCalculator() self.assertTrue(c.is_parallel((1, 0, 0), (3, 0, 0))) self.assertFalse(c.is_parallel((1, 0, 0), (3, 0, 1)))