public void SubwayStep_SetEnergyMinMax()
        {
            // Set up the object and its StepID.
            var dummyOne = new SubwayStepDummy(Moon, StepID.Intercept);

            // Fields for easier asserts since I don't have to type each value multiple times.
            double min;
            double max;
            double ave;

            // Set fields for first Test.
            min = 1580;
            max = 3755;
            ave = 2667.5;

            // Call the method and then call the various asserts to check for the correct values.
            dummyOne.SetEnergyRequired(min, max);

            Assert.AreEqual(dummyOne.EnergyRequired["Minimum"], min);
            Assert.AreEqual(dummyOne.EnergyRequired["Maximum"], max);
            Assert.AreEqual(dummyOne.EnergyRequired["Average"], ave);

            // Set fields for second Test.
            min = 520.23;
            max = 906.47;
            ave = 713.35;

            // Call the method and then call the various asserts to check for the correct values.
            dummyOne.SetEnergyRequired(min, max);

            Assert.AreEqual(dummyOne.EnergyRequired["Minimum"], min);
            Assert.AreEqual(dummyOne.EnergyRequired["Maximum"], max);
            Assert.AreEqual(dummyOne.EnergyRequired["Average"], ave);

            // Set fields for third Test.
            min = 5231.82;
            max = 6550;
            ave = 5890.91;

            // Call the method and then call the various asserts to check for the correct values.
            dummyOne.SetEnergyRequired(min, max);

            Assert.AreEqual(dummyOne.EnergyRequired["Minimum"], min);
            Assert.AreEqual(dummyOne.EnergyRequired["Maximum"], max);
            Assert.AreEqual(dummyOne.EnergyRequired["Average"], ave);
        }
        public void SubwayStep_SetEnergyOneValue()
        {
            // Set up the object and its StepID.
            var dummyOne = new SubwayStepDummy(Star, StepID.Orbit);

            // Field for easier asserts since I don't have to type the value multiple times.
            var value = 9350;

            // Call the method and then call the various asserts to check for the correct values.
            dummyOne.SetEnergyRequired(value);

            Assert.AreEqual(dummyOne.EnergyRequired["Minimum"], value);
            Assert.AreEqual(dummyOne.EnergyRequired["Maximum"], value);
            Assert.AreEqual(dummyOne.EnergyRequired["Average"], value);
        }