def test_smote_fit():
 smote = SMOTETomek(random_state=RND_SEED)
 smote.fit(X, Y)
 assert_equal(smote.min_c_, 0)
 assert_equal(smote.maj_c_, 1)
 assert_equal(smote.stats_c_[0], 8)
 assert_equal(smote.stats_c_[1], 12)

def test_smote_fit ( ) : smote = SMOTETomek ( random_state = RND_SEED ) smote . fit ( X , Y ) assert_equal ( smote . min_c_ , 0 ) assert_equal ( smote . maj_c_ , 1 ) assert_equal ( smote . stats_c_ [ 0 ] , 8 ) assert_equal ( smote . stats_c_ [ 1 ] , 12 )
test the fitting method .