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