예제 #1
0
 public void BoundBoxTest()
 {
     Vector2 position = new Vector2(); // TODO: Initialize to an appropriate value
     string text = string.Empty; // TODO: Initialize to an appropriate value
     SpriteFont font = null; // TODO: Initialize to an appropriate value
     Color c = new Color(); // TODO: Initialize to an appropriate value
     Color cHover = new Color(); // TODO: Initialize to an appropriate value
     Action onClick = null; // TODO: Initialize to an appropriate value
     TextClickable target = new TextClickable(position, text, font, c, cHover, onClick); // TODO: Initialize to an appropriate value
     Rectangle actual;
     actual = target.BoundBox;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
예제 #2
0
 public void DrawTest()
 {
     Vector2 position = new Vector2(); // TODO: Initialize to an appropriate value
     string text = string.Empty; // TODO: Initialize to an appropriate value
     SpriteFont font = null; // TODO: Initialize to an appropriate value
     Color c = new Color(); // TODO: Initialize to an appropriate value
     Color cHover = new Color(); // TODO: Initialize to an appropriate value
     Action onClick = null; // TODO: Initialize to an appropriate value
     TextClickable target = new TextClickable(position, text, font, c, cHover, onClick); // TODO: Initialize to an appropriate value
     SpriteBatch sb = null; // TODO: Initialize to an appropriate value
     target.Draw(sb);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
예제 #3
0
 public void TextClickableConstructorTest()
 {
     Vector2 position = new Vector2(); // TODO: Initialize to an appropriate value
     string text = string.Empty; // TODO: Initialize to an appropriate value
     SpriteFont font = null; // TODO: Initialize to an appropriate value
     Color c = new Color(); // TODO: Initialize to an appropriate value
     Color cHover = new Color(); // TODO: Initialize to an appropriate value
     Action onClick = null; // TODO: Initialize to an appropriate value
     TextClickable target = new TextClickable(position, text, font, c, cHover, onClick);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }