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
Product
Features
Use Cases
Customers
ROI Calculator
Integrations
Assessments
Tests
Questions
Pricing
Resources
Book: Evidence-Based Hiring
Blog
Support
Contact Us
Legal
For Jobseekers
© TestDome, 2024.