Beispiel #1
0
        public void TestMethod3()
        {
            int    n        = 4;
            string expected = "коровы";

            string actual = CowClass.Cow(n);

            Assert.AreEqual(expected, actual);
        }
 private void button1_Click(object sender, EventArgs e)
 {
     label2.Text = amount.Value + " " + CowClass.Cow(Convert.ToInt32(amount.Value));
 }