def test_enn_init():
 enn = EditedNearestNeighbours(random_state=RND_SEED)
 assert_equal(enn.n_neighbors, 3)
 assert_equal(enn.kind_sel, 'all')
 assert_equal(enn.n_jobs, 1)
 assert_equal(enn.random_state, RND_SEED)

def test_enn_init ( ) : enn = EditedNearestNeighbours ( random_state = RND_SEED ) assert_equal ( enn . n_neighbors , 3 ) assert_equal ( enn . kind_sel , 'all' ) assert_equal ( enn . n_jobs , 1 ) assert_equal ( enn . random_state , RND_SEED )
test the initialisation of the object .