def test_user_offset_3(self):
		avg = 1.234
		user = 4.0
		x = 0.0
		x = netflix_user_offset(avg, user)
		actual = user - avg
		self.assert_(type(x) is float)
		self.assert_(type(actual) is float)
		self.assert_(x == actual)
	def test_user_offset_2(self):
		avg = 3.6784
		user = 2.342
		x = 0.0
		x = netflix_user_offset(avg, user)
		actual = user - avg
		self.assert_(type(x) is float)
		self.assert_(type(actual) is float)
		self.assert_(x == actual)
	def test_user_offset_1(self):
		avg = 3.3434345
		user = 4.4355
		x = 0.0
		x = netflix_user_offset(avg, user)
		actual = user - avg
		self.assert_(type(x) is float)
		self.assert_(type(actual) is float)
		self.assert_(x == actual)
Example #4
0
 def test_user_offset_3(self):
     avg = 1.234
     user = 4.0
     x = 0.0
     x = netflix_user_offset(avg, user)
     actual = user - avg
     self.assert_(type(x) is float)
     self.assert_(type(actual) is float)
     self.assert_(x == actual)
Example #5
0
 def test_user_offset_2(self):
     avg = 3.6784
     user = 2.342
     x = 0.0
     x = netflix_user_offset(avg, user)
     actual = user - avg
     self.assert_(type(x) is float)
     self.assert_(type(actual) is float)
     self.assert_(x == actual)
Example #6
0
 def test_user_offset_1(self):
     avg = 3.3434345
     user = 4.4355
     x = 0.0
     x = netflix_user_offset(avg, user)
     actual = user - avg
     self.assert_(type(x) is float)
     self.assert_(type(actual) is float)
     self.assert_(x == actual)