title: Why is assertEquals(double,double) deprecated in JUnit?
body: <p>I was wondering why <code>assertEquals(double, double)</code> is deprecated.</p>
  
  <p>I used <code>import static org.junit.Assert.assertEquals;</code> and I used JUnit 4.11.</p>
  
  <p>Below is my code:</p>
  
  <pre><code>import org.junit.Test;
  import static org.junit.Assert.assertEquals;
  
  
  public class AccountTest {
  
  @Test
  public void test() {
      Account checking = new Account(Account.CHECKING);
      checking.deposit(1000.0);
      checking.withdraw(100.0);
      assertEquals(900.0, checking.getBalance());
     }
  }
  </code></pre>
  
  <p><code>checking.getBalance()</code> returns a double value.</p>
  
  <p>What could be wrong?</p>