def test_no_parallel_edges(self): with self.assertRaises(ValueError): PrimitiveCell((1, 0, 0), (1, 0, 0), (0, 0, 1), BravaisLattice.CUBIC)
def test_edge_lengths_positive(self): with self.assertRaises(ValueError): PrimitiveCell((0, 0, 0), (0, 0, 0), (0, 0, 0), BravaisLattice.CUBIC)