Exemple #1
0
 def test_baseadapter__repr__(self):
     lm = LinearRegression()
     lm_strategy = AdapterForFitPredictAdaptee(lm)
     result = lm_strategy.__repr__()
     self.assertEqual(result, lm.__repr__())
Exemple #2
0
 def test_process__repr__(self):
     lm = LinearRegression()
     lm_strategy = AdapterForFitPredictAdaptee(lm)
     step = Process(lm_strategy)
     result = step.__repr__()
     self.assertEqual(result, lm.__repr__())