def test_rus_init():
 ratio = 'auto'
 rus = RandomUnderSampler(ratio=ratio, random_state=RND_SEED)
 assert_equal(rus.random_state, RND_SEED)

def test_rus_init ( ) : ratio = 'auto' rus = RandomUnderSampler ( ratio = ratio , random_state = RND_SEED ) assert_equal ( rus . random_state , RND_SEED )
test the initialisation of the object .