public void WhatAreTheNumberOfTrips_StartingAtAAndEndingAtC_WithExactlyFourStops(string graphInput, int expectation) { //arrange var graph = new Graph(graphInput); //act var tripResponse = new ExactStopTripFinder(graph).FindTrip('A', 'C'); //assert Assert.That(tripResponse.GetResponse(), Is.EqualTo(expectation.ToString())); }
private static void DoExactTripFinder(Graph graph, List<IResponse> responses) { var exactTripFinder = new ExactStopTripFinder(graph); responses.Add(exactTripFinder.FindTrip('A', 'C')); }