public void VoteCheck() { var l = new List <DistanceClass> { new DistanceClass('A', 3), new DistanceClass('B', 10), new DistanceClass('C', 30), new DistanceClass('D', 6) }; Assert.AreEqual('A', KNN.Vote(l)); }
public void VoteCheck() { var l = new List <DistanceClass> { new DistanceClass('A', 3), new DistanceClass('B', 10), new DistanceClass('C', 30), new DistanceClass('D', 6) }; Assert.AreEqual('A', KNN.Vote(l)); }