ethereum/ethereumj — pull request #41 by nicksavers (2014-06-26 18:06:18+00:00)
Title: Fix massive unit test failure & adding tests

- Move testIncrementPerformance from MinerTest to ByteUtilTest
- Remove dependency on Guava from pom.xml which fixes massive unit test failure
```java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(J)Lcom/google/common/cache/CacheBuilder;```
- Remove duplicated ByteUtil.calcPacketSize() and only use ByteUtil.calcPacketLength()
- Add unit tests: ByteUtilTest and ByteArrayWrapperTest
- Create performance test to show the difference between
1. ```UnsignedBytes.lexicographicalComparator()```
2. ```FastByteComparisons.compareTo()```
3. ```Arrays.equals()```

Performance tests are done quickly, so might need some more study. There could be arguments to switch later, but for now this also makes the code more consistent