コード例 #1
0
ファイル: test_core.py プロジェクト: rabitt/pysox
 def test_nonnumeric3(self):
     actual = core.is_number([1])
     expected = False
     self.assertEqual(expected, actual)
コード例 #2
0
ファイル: test_core.py プロジェクト: rabitt/pysox
 def test_numeric3(self):
     actual = core.is_number(-100)
     expected = True
     self.assertEqual(expected, actual)
コード例 #3
0
ファイル: test_core.py プロジェクト: rabitt/pysox
 def test_numeric4(self):
     actual = core.is_number('13.54')
     expected = True
     self.assertEqual(expected, actual)
コード例 #4
0
ファイル: test_core.py プロジェクト: rabitt/pysox
 def test_numeric2(self):
     actual = core.is_number(1.213215)
     expected = True
     self.assertEqual(expected, actual)
コード例 #5
0
ファイル: test_core.py プロジェクト: ejhumphrey/pysox
 def test_nonnumeric3(self):
     actual = core.is_number([1])
     expected = False
     self.assertEqual(expected, actual)
コード例 #6
0
ファイル: test_core.py プロジェクト: ejhumphrey/pysox
 def test_numeric4(self):
     actual = core.is_number('13.54')
     expected = True
     self.assertEqual(expected, actual)
コード例 #7
0
ファイル: test_core.py プロジェクト: ejhumphrey/pysox
 def test_numeric3(self):
     actual = core.is_number(-100)
     expected = True
     self.assertEqual(expected, actual)
コード例 #8
0
ファイル: test_core.py プロジェクト: ejhumphrey/pysox
 def test_numeric2(self):
     actual = core.is_number(1.213215)
     expected = True
     self.assertEqual(expected, actual)