def test_bc_init():
 ratio = 1.0
 bc = BalanceCascade(ratio=ratio, random_state=RND_SEED)
 assert_equal(bc.ratio, ratio)
 assert_equal(bc.bootstrap, True)
 assert_equal(bc.n_max_subset, None)
 assert_equal(bc.random_state, RND_SEED)

def test_bc_init ( ) : ratio = 1.0 bc = BalanceCascade ( ratio = ratio , random_state = RND_SEED ) assert_equal ( bc . ratio , ratio ) assert_equal ( bc . bootstrap , True ) assert_equal ( bc . n_max_subset , None ) assert_equal ( bc . random_state , RND_SEED )
test the initialisation of the object .