Exemplo n.º 1
0
        protected void btnMultiply_Click(object sender, EventArgs e)
        {
            MathsLibrary obj    = new MathsLibrary();
            int          result = obj.Multiply(Convert.ToInt32(txtNumber1.Text), Convert.ToInt32(txtNumber2.Text));

            txtResult.Text = result.ToString();
        }
 public void Multiply_Test()
 {
     //idhfosdhfuihadou//shdfjsbdijfhujihuih
     Assert.AreEqual(10, math.Multiply(5, 2));
 }