public void testTestableExampleObjectResetsToOriginBelow100Metres() { TestableExample example = kernel.Get <TestableExample>(); example.Obj.transform.Position = new Vector3(0, -101, 0); step(1); Assert.AreEqual(Vector3.zero, example.Obj.transform.Position); }
public void Start() { TestableExample example = UnityInjector.get().Get <TestableExample>(); example.Obj.name = "Example"; }