Пример #1
0
	def test_calculate_returns_C(self):
		self.assertEqual('C', grader.calculate(75))
Пример #2
0
	def test_calculate_returns_None(self):
		self.assertEqual('F', grader.calculate(5))
Пример #3
0
	def test_calculate_returns_A(self):
		self.assertEqual('A', grader.calculate(95))
Пример #4
0
	def test_calculate_returns_B(self):
		self.assertEqual('B', grader.calculate(90))
Пример #5
0
 def test_calculate_returns_A(self):
     self.assertEqual('A', grader.calculate(95))
Пример #6
0
 def test_calculate_returns_B(self):
     self.assertEqual('B', grader.calculate(90))
Пример #7
0
 def test_calculate_returns_None(self):
     self.assertEqual('F', grader.calculate(5))
Пример #8
0
 def test_calculate_returns_C(self):
     self.assertEqual('C', grader.calculate(75))
Пример #9
0
	def test_calculate_grade_B(self):
		self.assertEqual('B', grader.calculate(85))
Пример #10
0
	def test_calculate_grade_D(self):
		self.assertEqual('D', grader.calculate(65))
Пример #11
0
	def test_calculate_grade_c(self):
		self.assertEqual('c', grader.calculate(75))