コード例 #1
0
 def test_equal_1(self):
     self.assertEqual(parser('12:56C:144:1000:1200'),
                      ['12', '56C', '144', '1000', '1200'])
コード例 #2
0
 def test_equal_3(self):
     self.assertEqual(
         parser('340000.00*-140.49902*ELEVATION*24000000*END'),
         ['340000.00', '-140.49902', 'ELEVATION', '24000000', 'END'])
コード例 #3
0
 def test_equal_2(self):
     self.assertEqual(parser('23;RPM;300;PSI;MODE;FORWARD'),
                      ['23', 'RPM', '300', 'PSI', 'MODE', 'FORWARD'])
コード例 #4
0
 def test_equal_2(self):
     self.assertEqual(parser("23;RPM;300;PSI;MODE;FORWARD"), ["23", "RPM", "300", "PSI", "MODE", "FORWARD"])
コード例 #5
0
 def test_equal_1(self):
     self.assertEqual(parser("12:56C:144:1000:1200"), ["12", "56C", "144", "1000", "1200"])
コード例 #6
0
 def test_equal_3(self):
     self.assertEqual(
         parser("340000.00*-140.49902*ELEVATION*24000000*END"),
         ["340000.00", "-140.49902", "ELEVATION", "24000000", "END"],
     )