Tests.TestCollisions.testBouncingLightDestroysItselfBelowThresholdHeight C# (CSharp) Метод

testBouncingLightDestroysItselfBelowThresholdHeight() приватный Метод

private testBouncingLightDestroysItselfBelowThresholdHeight ( ) : void
Результат void
        public void testBouncingLightDestroysItselfBelowThresholdHeight()
        {
            BouncingLight light = kernel.Get<BouncingLight>();
            light.Obj.transform.Translate(new Vector3(0, BouncingLight.killThresholdY - 1, 0));
            step();
            Assert.IsTrue(light.Obj.destroyed);
        }