def test_rss(self): actual = np.array(TestError.ACTUAL) ideal = np.array(TestError.IDEAL) self.assertAlmostEqual(ErrorCalculation.rss(actual, ideal), 3032.4099, 3)