Пример #1
0
 def test_false_1(self):
     result = valid_range(50, 250, 40)
     self.assertFalse(result)
Пример #2
0
 def test_equal_max(self):
     result = valid_range(50, 250, 250)
     self.assertTrue(result)
Пример #3
0
 def test_true(self):
     result = valid_range(50, 250, 70)
     self.assertTrue(result)
Пример #4
0
def test_true():
    assert (valid_range(50, 250, 70) == True)
Пример #5
0
def test_false_1():
    assert (valid_range(50, 250, 40) == False)
Пример #6
0
def test_equal_max():
    assert (valid_range(50, 250, 250) == True)
Пример #7
0
def test_false_2():
    assert (valid_range(50, 250, 270) == False)
Пример #8
0
 def test_false_1(self):
     result = valid_range(50, 250, 40)
     self.assertFalse(result)
Пример #9
0
 def test_true(self):
     result = valid_range(50, 250, 70)
     self.assertTrue(result)
Пример #10
0
 def test_equal_max(self):
     result = valid_range(50, 250, 250)
     self.assertTrue(result)