public ActionResult FindCube(int no) { Calulator c = new Calulator(); int res = c.Cube(no); return(Content($"Cube of {no} is {res}")); }
public void TestCube() { Calulator c = new Calulator(); Assert.AreEqual(1000, c.Cube(10)); }
public ActionResult FindCube(int no) { Calulator c = new Calulator(); int res = c.Cube(no); return(Content($"Cube of {no} is {res}")); }
public void TestCube() { Calulator c = new Calulator(); Assert.AreEqual(1000, c.Cube(10)); }