public void ValiadateTravelingSalesmanProblemFitnessCalculator_ComparerCheck() { var calculator = new TravelingSalesmanProblemFitnessCalculator(new List<TravelingSalesmanCity>()); var compResult = calculator.Compare(1000, 2000); Assert.AreEqual(1000.0, compResult.FitnessA); Assert.AreEqual(2000.0, compResult.FitnessB); Assert.IsTrue(compResult.IsAFitter); Assert.IsFalse(compResult.IsBFitter); Assert.IsFalse(compResult.AreEqual); }