def test_ee_init():
 ratio = 1.0
 ee = EasyEnsemble(ratio=ratio, random_state=RND_SEED)
 assert_equal(ee.ratio, ratio)
 assert_equal(ee.replacement, False)
 assert_equal(ee.n_subsets, 10)
 assert_equal(ee.random_state, RND_SEED)

def test_ee_init ( ) : ratio = 1.0 ee = EasyEnsemble ( ratio = ratio , random_state = RND_SEED ) assert_equal ( ee . ratio , ratio ) assert_equal ( ee . replacement , False ) assert_equal ( ee . n_subsets , 10 ) assert_equal ( ee . random_state , RND_SEED )
test the initialisation of the object .