def test_user_cache_3 (self) :
		uCache = {}
		netflix_user_cache(uCache)
		for a,b in uCache.items() :
			self.assert_(type(b) is float)
	def test_user_cache_2 (self) :
		uCache = {}
		netflix_user_cache(uCache)
		for a,b in uCache.items() :
			self.assert_(type(a) is int)
	def test_user_cache_1 (self) :
		uCache = {}
		netflix_user_cache(uCache)
		
		self.assert_(uCache)		# False is uCache is empty
예제 #4
0
 def test_user_cache_3(self):
     uCache = {}
     netflix_user_cache(uCache)
     for a, b in uCache.items():
         self.assert_(type(b) is float)
예제 #5
0
 def test_user_cache_2(self):
     uCache = {}
     netflix_user_cache(uCache)
     for a, b in uCache.items():
         self.assert_(type(a) is int)
예제 #6
0
    def test_user_cache_1(self):
        uCache = {}
        netflix_user_cache(uCache)

        self.assert_(uCache)  # False is uCache is empty