Original code:
import org.junit.Assert; import org.junit.Test; public class AccountTest { private double epsilon = 1e-6; @Test public void accountCannotHaveNegativeOverdraftLimit() { Account account = new Account(-20); Assert.assertEquals(0d, account.getOverdraftLimit(), epsilon); } }
Dashboard
Start Trial
Sign In
Home
Tour
Tests
Questions
Pricing
Resources
Blog
Read Evidence-Based Hiring
Support
Use Cases
ROI Calculator
Integrations
Customers
© TestDome, 2022.