title: Android PointF constructor not working in JUnit test
body: <p>I have just stumbled on this while trying to write a JUnit test. Admittedly this is my first unit test in JUnit, but I do find the behaviour very puzzling.</p>
  
  <pre><code>package com.example.dom.pointfbugrepro;
  
  import android.graphics.PointF;
  import org.junit.Test;
  import static org.junit.Assert.*;
  
  public class ExampleUnitTest {
      @Test
      public void pointf_isCorrect() throws Exception {
          PointF foo = new PointF(5, 0);
          assertEquals(5, foo.x, 0.0001f);
      }
  }
  </code></pre>
  
  <p>Running this test in a brand new Android Project results in an assertion failure:</p>
  
  <pre><code>java.lang.AssertionError: 
  Expected :5.0
  Actual   :0.0
  </code></pre>
  
  <p>One thing I found out while investigating this problem is that assigning to the PointF instance's <code>x</code> field directly does work.</p>
  
  <p>So what is the problem here? Why doesn't the constructor set the fields properly? and how should I be testing classes which use the PointF Android class?</p>