public void Face_ObjectToRotateFacesTarget() { InstantiateRotator(); _rotator.Face(_testTarget); Vector2 targetDirection = _testTarget - (Vector2)_rotator.transform.position; Vector2 targetDirectionNormalized = targetDirection.normalized; Vector2 faceDirectionNormalized = _rotator.transform.up.normalized; Assert.AreEqual(targetDirectionNormalized.x, faceDirectionNormalized.x, _epsilon); Assert.AreEqual(targetDirectionNormalized.y, faceDirectionNormalized.y, _epsilon); }