@@ -0,0 +1,1470 @@
+import unittest%0A%0Afrom pymatgen.command_line.aconvasp_caller import get_num_division_kpoints, get_minkowski_red, get_vasp_kpoint_file_sym%0Afrom pymatgen.core.structure import Lattice, Structure%0Afrom pymatgen.core.periodic_table import Element%0Aimport numpy as np%0A%0A%0Aclass AconvaspCallerTest(unittest.TestCase):%0A    %0A    def setUp(self):%0A        self.si = Element(%22Si%22)%0A        coords = list()%0A        coords.append(%5B0, 0, 0%5D)%0A        coords.append(%5B0.75, 0.5, 0.75%5D)%0A        self.lattice = Lattice(%5B%5B3.8401979337, 0.00, 0.00%5D,%0A                                %5B1.9200989668, 3.3257101909, 0.00%5D,%0A                                %5B0.00, -2.2171384943, 3.1355090603%5D%5D)%0A        self.struct = Structure(self.lattice, %5Bself.si, self.si%5D, coords)%0A    %0A    def test_get_num_division_kpoints(self):%0A        self.assertListEqual(get_num_division_kpoints(self.struct, 500),%5B6, 7, 6%5D)%0A    %0A    def test_get_minkowski_red(self):%0A        new_struct=get_minkowski_red(self.struct)%0A        self.assertAlmostEqual(new_struct.lattice.a, 3.840198)%0A        self.assertAlmostEqual(new_struct.lattice.alpha, 60.0)%0A        self.assertEqual(new_struct.species_and_occu%5B0%5D,%7BElement(%22Si%22): 1%7D)%0A        self.assertEqual(new_struct.frac_coords%5B1%5D%5B0%5D,0.25)%0A        %0A    def test_get_vasp_kpoint_file_sym(self):%0A        self.assertEqual(get_vasp_kpoint_file_sym(self.struct).split(%22%5Cn%22)%5B0%5D,%22FCC (face-centered cubic) G-X-W-K-G-L-U-W-L-K U-X%22)%0A        %0A    %0A%0Aif __name__ == '__main__':%0A    unittest.main()%0A

add unittest for aconvasp_caller