def test_ada_fit():
 ada = ADASYN(random_state=RND_SEED)
 ada.fit(X, Y)
 assert_equal(ada.min_c_, 0)
 assert_equal(ada.maj_c_, 1)
 assert_equal(ada.stats_c_[0], 8)
 assert_equal(ada.stats_c_[1], 12)

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