def test_lda_potcar(self):
    coords = list()
    coords.append([0, 0, 0])
    coords.append([0.75, 0.5, 0.75])
    lattice = Lattice([[3.8401979337, 0.0, 0.0], [1.9200989668, 3.3257101909, 0.0], [0.0, (- 2.2171384943), 3.1355090603]])
    struct = Structure(lattice, ['P', 'Fe'], coords)
    p = MITVaspInputSet(potcar_functional='LDA').get_potcar(struct)
    self.assertEqual(p.functional, 'LDA')
def test_lda_potcar(self):
    coords = list()
    coords.append([0, 0, 0])
    coords.append([0.75, 0.5, 0.75])
    lattice = Lattice([[3.8401979337, 0.0, 0.0], [1.9200989668, 3.3257101909, 0.0], [0.0, (- 2.2171384943), 3.1355090603]])
    struct = Structure(lattice, ['P', 'Fe'], coords)
    p = MITVaspInputSet(potcar_functional='LDA').get_potcar(struct)
    self.assertEqual(p.functional, 'LDA')