def test8(self): diamond = DiamondStructureGenerator(scaling_matrix=[2, 2, 2]) diamond.save() self.tmpdata.append(diamond.fname) assert_equal(diamond.atoms.Natoms, DiamondStructure().basis.Natoms * 2 ** 3)
def test8(self): diamond = DiamondStructureGenerator(scaling_matrix=[2, 2, 2]) diamond.save() self.tmpdata.append(diamond.fname) assert_equal(diamond.atoms.Natoms, DiamondStructure().basis.Natoms * 2**3)
def test7(self): diamond = DiamondStructureGenerator() diamond.save() self.tmpdata.append(diamond.fname) assert_equal(diamond.atoms.Natoms, DiamondStructure().basis.Natoms)