コード例 #1
0
        public void Test2(int mass, int expectedFuel)
        {
            var input = new List <int>()
            {
                mass
            };
            var acutal = FleetFuelCalculator.CaluclateWithFuel(input);

            acutal.Should().Be(expectedFuel, because: "that is how much fuel we need to take off");
        }
コード例 #2
0
 public void Test2()
 {
     var result = FleetFuelCalculator.CaluclateWithFuel(GetInput());
 }