示例#1
0
 def test_caches_increment_rmse_1(self):
     """
         Tests to see that rmse is incremented by the value provided
     """
     cache = Caches()
     cache.increment_rmse(0.2335785)
     self.assertEqual(cache.rmse, 0.2335785)
示例#2
0
 def test_caches_increment_rmse_3(self):
     """
         Tests to see that rmse is incremented by the value provided
     """
     cache = Caches()
     cache.rmse = -1
     cache.increment_rmse(0)
     self.assertEqual(cache.rmse, -1)
示例#3
0
 def test_caches_increment_rmse_2(self):
     """
         Tests to see that rmse is incremented by the value provided
     """
     cache = Caches()
     cache.rmse = 25
     cache.increment_rmse(-2.6)
     self.assertEqual(cache.rmse, 22.4)