コード例 #1
0
 public void TestHUDMethods()
 {
     GameHUD HUD = new GameHUD();
     try{
         HUD.Start();
         HUD.OnGUI();
         HUD.Update();
     }catch(Exception e) {
         //Something went wrong
         Assert.True(false,"error "+e.ToString());
     }
 }
コード例 #2
0
        public void TestHUDMethods()
        {
            GameHUD HUD = new GameHUD();

            try{
                HUD.Start();
                HUD.OnGUI();
                HUD.Update();
            }catch (Exception e) {
                //Something went wrong
                Assert.True(false, "error " + e.ToString());
            }
        }