Skip to content

Instantly share code, notes, and snippets.

@angelovstanton
Created September 3, 2017 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/c640ec7a1ed7a252facdf9d6009bf4a1 to your computer and use it in GitHub Desktop.
Save angelovstanton/c640ec7a1ed7a252facdf9d6009bf4a1 to your computer and use it in GitHub Desktop.
public partial class CalculatorStandardView
{
public void AssertResult(decimal expectedReslt)
{
string strResult = GetCalculatorResultText();
var actualResult = decimal.Parse(strResult);
Assert.AreEqual(expectedReslt, actualResult);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment