示例#1
0
        public void WhenCalc_GallonsIsCalled()
        {
            FuelEfficiency f = new FuelEfficiency();

            _scenarioContext.Add("gallons", f.calc_gallons(
                                     _scenarioContext.Get <float>("miles"),
                                     _scenarioContext.Get <float>("mpg")
                                     ));
        }