vert-x/vert.x — pull request #284 by gmokki (2012-07-14 13:52:04+00:00)
Title: Echotest random failure fix

The test creates a random positive integer and then autoboxes it. The azzert code assumes that the object would never be the same instance for any value.
But the JVM caches all number objects (Long,Integer etc) for values < 128 (or larger if -XX:AutoBoxCacheMax is specified).

Fix by avoiding autoboxing with explicit new constructors.
Also changed the double and float tests to actually values with nonzero decimal part.