コード例 #1
0
 def test_rmse_from_dictionary_3 (self) :
     list1 = {}
     list2 = {}
     self.assertEqual(0, netflix_rmse_from_dictionary(list1, list2))
コード例 #2
0
 def test_rmse_from_dictionary_2 (self) :
     list1 = {1 : (2, 3, 4), 2 : (2, 3, 4)}
     list2 = {1 : (2, 3, 4), 2 : (2, 3, 4)}
     self.assertEqual(0, netflix_rmse_from_dictionary(list1, list2))