def test_init():
 ratio = 1.0
 cc = ClusterCentroids(ratio=ratio, random_state=RND_SEED)
 assert_equal(cc.ratio, ratio)

def test_init ( ) : ratio = 1.0 cc = ClusterCentroids ( ratio = ratio , random_state = RND_SEED ) assert_equal ( cc . ratio , ratio )
test the initialisation of the object .