コード例 #1
0
        public void WhenCalc_FuelUse()
        {
            FuelEfficiency f = new FuelEfficiency();

            _scenarioContext.Add("fuelUse", f.calcFuelUse(
                                     _scenarioContext.Get <float>("gallons"),
                                     _scenarioContext.Get <float>("tank")
                                     ));
        }