public void CanAdd2Numbers() { BalClass sut = new BalClass(); int res = sut.AddTwoNumbers(6, 7); Assert.That(res, Is.EqualTo(13)); }
protected void Page_Load(object sender, EventArgs e) { BalClass objBal = new BalClass(); objBal.AddTwoNumbers(2, 4); }