Skip to content

Commit

Permalink
Added test_binarizer
Browse files Browse the repository at this point in the history
  • Loading branch information
GJena committed Apr 16, 2016
1 parent 3834b13 commit b359df2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests.py
Expand Up @@ -243,3 +243,7 @@ def test_div():
tpot_obj = TPOT()
assert tpot_obj._div(5,0)==0

def test_binarizer():
tpot_obj = TPOT()

assert np.array_equal(tpot_obj._binarizer(training_testing_data.ix[:,-3:],0),training_testing_data.ix[:,-3:])

0 comments on commit b359df2

Please sign in to comment.