public void Coins_InputAmountTwentyFiveGetQuarterBack_True() { Change testChange = new Change(163); string resultCoins = testChange.ComputeChange(); Console.WriteLine(resultCoins); Assert.Equal("Quarters: 2 Dimes: Nickles: Pennies: .", resultCoins); }
public HomeModule() { Get["/"] = _ => { return(View["index.cshtml"]); }; Get["/coin_count"] = _ => { Change newChange = new Change(Request.Query["changeAmount"]); string result = newChange.ComputeChange(); return(View["index.cshtml", result]); }; }