public void Property_StoresCorrectly() { var sut = new NumberToWordsModel(); sut.inputName = "hello"; Assert.AreEqual("hello", sut.inputName, "Oops..."); sut.inputNumber = 20.32; Assert.AreEqual(20.32, sut.inputNumber, "Oops..."); }
// GET: Default public ActionResult Index() { NumberToWordsModel model = new NumberToWordsModel(); return(View("~/Views/Default/Index.cshtml", model)); }