public void CanCheckIfContainsPoint() { GameObject obj = new GameObject(); HeightMap map = obj.AddComponent <HeightMap>(); map.size = Vector3Int.one * 2; Assert.AreEqual(true, map.Contains(0, 0)); Assert.AreEqual(true, map.Contains(1, 1)); Assert.AreEqual(false, map.Contains(2, 2)); Assert.AreEqual(false, map.Contains(-1, -1)); }