Ejemplo n.º 1
0
 public void Return_Price_In_Holidays()
 {
     _sut = new ProportionalPainter(PainterStatus.InHolidays, new TimeSpan(0, 0, 30, 0), 10, 20);
     _sut.EstimatePrice(10).Should().Be(100);
 }
Ejemplo n.º 2
0
 public void Return_Price_Zero_Unavailable()
 {
     _sut = new ProportionalPainter(PainterStatus.Unavailable, new TimeSpan(0, 0, 30, 0), 10, 20);
     _sut.EstimatePrice(10).Should().Be(0);
 }
Ejemplo n.º 3
0
 public void Return_Price()
 {
     _sut = new ProportionalPainter(true, new TimeSpan(0, 0, 30, 0), 10);
     _sut.EstimatePrice(10).Should().Be(50);
 }