to test the performance of a classifier, you should provide some data which their class are known. The number of data which truly classified by that classifier to the whole number of data will show you the accuracy.
The kNN classifier does not show remarkable results in any of the cases studied, which makes them suitable only for baseline problem assessment (p. 68).