Пример #1
0
        public void CutTest()
        {
            Vector2    position          = new Vector2();                                                                   // TODO: Initialize to an appropriate value
            SpriteFont font              = null;                                                                            // TODO: Initialize to an appropriate value
            Color      color             = new Color();                                                                     // TODO: Initialize to an appropriate value
            Action     lambdaTextEnter   = null;                                                                            // TODO: Initialize to an appropriate value
            string     input             = string.Empty;                                                                    // TODO: Initialize to an appropriate value
            Action     lambdaTextChanged = null;                                                                            // TODO: Initialize to an appropriate value
            TextInput  target            = new TextInput(position, font, color, lambdaTextEnter, input, lambdaTextChanged); // TODO: Initialize to an appropriate value

            target.Cut();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Пример #2
0
 private void cutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TextInput.Cut();
 }