Пример #1
0
        public void Test_Thing_OptimalDeltaT2()
        {
            Field      f    = new Field();
            Location2d loc  = new Location2d();
            Velocity2d vel  = new Velocity2d(0, 28);
            double     size = 14.0;

            Thing thing = new Thing(f.CurrentState, loc, vel, size);

            decimal expectedDeltaT = 0.5m;

            Assert.AreEqual(expectedDeltaT, thing.CalculateOptimalDeltaT());
        }