public void MixRelative_CheckScale_Weighting() { SetupTest(); PoseTools.MixRelative(player, snapshot, relA, 0.5f); Assert.AreEqual(player.transform.localScale, new Vector3(-5, -5, -5)); }
public void MixRelative_CheckPosition_Weighting() { SetupTest(); PoseTools.MixRelative(player, snapshot, relA, 0.5f); Assert.AreEqual(player.transform.position, new Vector3(-4, -4, -4)); }
public void MixRelative_CheckScale() { SetupTest(); PoseTools.MixRelative(player, snapshot, relA, 1); Assert.AreEqual(player.transform.localScale, new Vector3(-10, -10, -10)); }
public void MixRelative_CheckPosition() { SetupTest(); PoseTools.MixRelative(player, snapshot, relA, 1); Assert.AreEqual(player.transform.position, new Vector3(-9, -9, -9)); }