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}]')
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.')
def test_all_numbers(self, numbers): self.assertTrue(NumbersUtil.is_all_numbers(numbers))