Browse Source

[java] Test some property access too

Cauê Waneck 9 years ago
parent
commit
6e05965ab4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/unit/src/unit/issues/Issue3987.hx

+ 3 - 0
tests/unit/src/unit/issues/Issue3987.hx

@@ -5,6 +5,9 @@ class Issue3987 extends Test {
 	public function test() {
 		var int =  java.lang.Integer.valueOf(123);
 		eq(int.intValue(), 123);
+		t(java.lang.Integer.MIN_VALUE < 0);
+		t(java.lang.Integer.MAX_VALUE > 0);
+		eq(java.lang.Integer.SIZE, 32);
 	}
 #end
 }