def test_allknn_init():
 allknn = AllKNN(random_state=RND_SEED)
 assert_equal(allknn.n_neighbors, 3)
 assert_equal(allknn.kind_sel, 'all')
 assert_equal(allknn.n_jobs, (-1))
 assert_equal(allknn.random_state, RND_SEED)

def test_allknn_init ( ) : allknn = AllKNN ( random_state = RND_SEED ) assert_equal ( allknn . n_neighbors , 3 ) assert_equal ( allknn . kind_sel , 'all' ) assert_equal ( allknn . n_jobs , ( - 1 ) ) assert_equal ( allknn . random_state , RND_SEED )
test the initialisation of the object .