public void AddZoneToZoneClusterTest() { ZoneHandler target = new ZoneHandler(); // TODO: 初始化为适当的值 WorldId worldID = null; // TODO: 初始化为适当的值 target.AddZoneToZoneCluster(worldID); Assert.Inconclusive("无法验证不返回值的方法。"); }
public void CountTest() { ZoneHandler target = new ZoneHandler(); // TODO: 初始化为适当的值 long actual; actual = target.Count; Assert.Inconclusive("验证此测试方法的正确性。"); }
public void ToArrayTest() { ZoneHandler target = new ZoneHandler(); // TODO: 初始化为适当的值 WorldId[] expected = null; // TODO: 初始化为适当的值 WorldId[] actual; actual = target.ToArray(); Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }
public void DecrementZone(ZoneHandler handler) { faceColor.a = 0.0f; outlineColor.a = 0.0f; text.fontMaterial.SetColor(ShaderUtilities.ID_FaceColor, faceColor); text.fontMaterial.SetColor(ShaderUtilities.ID_OutlineColor, outlineColor); timer = 0.0f; fadeState = 0; text.text = "Returning to " + handler.CurrentZoneName; }
private void Start() { boataudio = boat.GetComponent <AudioSource>(); spawnedFish = new List <GameObject>(); line = boat.GetComponent <BoatLine>().Line.GetComponent <FishingLine>(); boatStats = boat.GetComponent <BoatStats>(); zoneHandler = gameObject.GetComponent <ZoneHandler>(); ZoneHandler.SectionChanged += SectionChange; fishCaughtText.text = "Fish Caught 0/" + boatStats.CarryAmount; SectionChange(); }
public void ZoneHandlerConstructorTest() { ZoneHandler target = new ZoneHandler(); Assert.Inconclusive("TODO: 实现用来验证目标的代码"); }