Exemple #1
0
def test_feature_as_input_transformer_tuple(inputs):
    input, transformer = inputs
    feature = Feature(input, transformer)
    tup = feature.as_input_transformer_tuple()
    assert isinstance(tup, tuple)
    assert len(tup) == 3
Exemple #2
0
 def test_feature_as_input_transformer_tuple(self):
     feature = Feature(self.input, self.transformer)
     tup = feature.as_input_transformer_tuple()
     self.assertIsInstance(tup, tuple)
     self.assertEqual(len(tup), 3)