예제 #1
0
 public void LongDistance()
 {
     var call = new TextCall(2, TestCalls.LongDiscanceCall);
     var plan =new TextPlan(4);
     new TextTaxation()
         .CalculatePrice(call, plan)
         .Value.Should().Be(12);
 }
예제 #2
0
 public void LocalText()
 {
     var call = new TextCall(2, TestCalls.LocalCall);
     var plan = new TextPlan(4);
     new TextTaxation()
         .CalculatePrice(call, plan)
         .Value.Should().Be(8);
 }