move tests to community

This commit is contained in:
anna
2013-02-12 10:22:22 +01:00
parent 0d0972aa8b
commit e6657a722f
33 changed files with 513 additions and 0 deletions
@@ -0,0 +1,18 @@
class Test {
float d;
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
final Test test = (Test) o;
if (Float.compare(test.d, d) != 0) return false;
return true;
}
public int hashCode() {
return (d != +0.0f ? Float.floatToIntBits(d) : 0);
}
}