Skip to content

Instantly share code, notes, and snippets.

@devjaime
Created March 18, 2019 02:13
Show Gist options
  • Select an option

  • Save devjaime/a81ad4e1897ee15c7ab044ea5afc2619 to your computer and use it in GitHub Desktop.

Select an option

Save devjaime/a81ad4e1897ee15c7ab044ea5afc2619 to your computer and use it in GitHub Desktop.
final
public partial class AccountTest
{
[TestMethod]
[PexGeneratedBy(typeof(AccountTest))]
[ExpectedException(typeof(ArgumentException))]
public void DepositTestThrowsArgumentException836()
{
Account account;
double d;
account = new Account();
d = this.DepositTest(account, 0);
}
[TestMethod]
[PexGeneratedBy(typeof(AccountTest))]
public void DepositTest716()
{
Account account;
double d;
account = new Account();
d = this.DepositTest(account, 1);
Assert.AreEqual<double>(1, d);
Assert.IsNotNull((object)account);
Assert.AreEqual<double>(1, account.CurrentBallance);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment