def test_renn_init():
 renn = RepeatedEditedNearestNeighbours(random_state=RND_SEED)
 assert_equal(renn.n_neighbors, 3)
 assert_equal(renn.kind_sel, 'all')
 assert_equal(renn.n_jobs, (-1))
 assert_equal(renn.random_state, RND_SEED)

def test_renn_init ( ) : renn = RepeatedEditedNearestNeighbours ( random_state = RND_SEED ) assert_equal ( renn . n_neighbors , 3 ) assert_equal ( renn . kind_sel , 'all' ) assert_equal ( renn . n_jobs , ( - 1 ) ) assert_equal ( renn . random_state , RND_SEED )
test the initialisation of the object .