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)
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)
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)