Exemplo n.º 1
0
 def test_get_settings(self):
     self.assertEqual({'Fm-3m(a-1/4,b-1/4,c-1/4)', 'Fm-3m'},
                      SpaceGroup.get_settings("Fm-3m"))
     self.assertEqual({'Pmmn', 'Pmnm:1', 'Pnmm:2', 'Pmnm:2', 'Pnmm',
                       'Pnmm:1', 'Pmmn:1', 'Pmnm', 'Pmmn:2'},
                      SpaceGroup.get_settings("Pmmn"))
     self.assertEqual({'Pnmb', 'Pman', 'Pncm', 'Pmna', 'Pcnm', 'Pbmn'},
                      SpaceGroup.get_settings("Pmna"))
Exemplo n.º 2
0
 def test_get_settings(self):
     self.assertEqual({'Fm-3m(a-1/4,b-1/4,c-1/4)', 'Fm-3m'},
                      SpaceGroup.get_settings("Fm-3m"))
     self.assertEqual({'Pmmn', 'Pmnm:1', 'Pnmm:2', 'Pmnm:2', 'Pnmm',
                       'Pnmm:1', 'Pmmn:1', 'Pmnm', 'Pmmn:2'},
                      SpaceGroup.get_settings("Pmmn"))
     self.assertEqual({'Pnmb', 'Pman', 'Pncm', 'Pmna', 'Pcnm', 'Pbmn'},
                      SpaceGroup.get_settings("Pmna"))
Exemplo n.º 3
0
 def test_get_settings(self):
     self.assertEqual({"Fm-3m(a-1/4,b-1/4,c-1/4)", "Fm-3m"}, SpaceGroup.get_settings("Fm-3m"))
     self.assertEqual(
         {
             "Pmmn",
             "Pmnm:1",
             "Pnmm:2",
             "Pmnm:2",
             "Pnmm",
             "Pnmm:1",
             "Pmmn:1",
             "Pmnm",
             "Pmmn:2",
         },
         SpaceGroup.get_settings("Pmmn"),
     )
     self.assertEqual(
         {"Pnmb", "Pman", "Pncm", "Pmna", "Pcnm", "Pbmn"},
         SpaceGroup.get_settings("Pmna"),
     )