Skip to content

Commit ae73e29

Browse files
committed
the testing for funk_svd works now
1 parent 64f3fb3 commit ae73e29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/algorithms/test_funk_svd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
class TestFunkSVD(unittest.TestCase):
99
def test_init_givenObjectInitialized_ObjectInitializedCorrectlyExpected(self):
10-
features = 10
10+
features = 100
1111
funk_svd = FunkSVD(features)
1212
self.assertIsInstance(funk_svd, FunkSVD)
1313
self.assertEqual(features, funk_svd.features)
1414

1515
def test_defaultConfigspace_GivenFunctionCalled_correctConfigSpaceReturnedExpected(self):
1616
cs = FunkSVD.get_default_configspace()
17-
params = cs.get_hyperparameters()
17+
params = list(cs.values())
1818
self.assertIsInstance(cs, CS.ConfigurationSpace)
1919
self.assertTrue(any(
2020
param.name == "features" and param.default_value == 1000 and param.lower == 2 and param.upper == 10000 for

0 commit comments

Comments
 (0)