Пример #1
0
        public void WhenItIsGasHogTrue()
        {
            FuelEfficiency f       = new FuelEfficiency();
            int            gallons = _scenarioContext.Get <int>("gallons");
            int            miles   = _scenarioContext.Get <int>("miles");
            bool           gasUse  = f.gasHog(miles, gallons);

            _scenarioContext.Add("gasUse", gasUse);
        }