コード例 #1
0
 def test_all_numbers_negative(self, numbers):
     self.assertFalse(
         NumbersUtil.is_all_numbers(numbers),
         'Test was not found that there is'
         f'none numeric variable in [{numbers}]')
コード例 #2
0
 def __verify_all_list_are_numbers(cls, numbers: list):
     if not NumbersUtil.is_all_numbers(numbers):
         raise ApplicationException(
             f'Not all numbers in list [{numbers}] are numbers.')
コード例 #3
0
 def test_all_numbers(self, numbers):
     self.assertTrue(NumbersUtil.is_all_numbers(numbers))