public void Should_return_price_of_a_single_track_code(string trackCodes, int expectedPrice) { var trackPricer = new TrackPricer(); var price = trackPricer.TotalPrice(trackCodes); Assert.That(price, Is.EqualTo(expectedPrice)); }
public void No_tracks_should_be_priced_as_zero() { const string noTrackCodes = ""; var trackPricer = new TrackPricer(); var price = trackPricer.TotalPrice(noTrackCodes); Assert.That(price, Is.EqualTo(0)); }