@@ -0,0 +1,575 @@
+package org.lmdbjava;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class ByteUnitTest %7B%0A%0A  @Test%0A  public void toBytes() %7B%0A    assertThat(ByteUnit.BYTES.toBytes(1), is(1L));%0A    assertThat(ByteUnit.KIBIBYTES.toBytes(1), is(1024L));%0A    assertThat(ByteUnit.MEBIBYTES.toBytes(1), is(1048576L));%0A    assertThat(ByteUnit.GIBIBYTES.toBytes(1), is(1073741824L));%0A    assertThat(ByteUnit.TEBIBYTES.toBytes(1), is(1099511627776L));%0A    assertThat(ByteUnit.PEBIBYTES.toBytes(1), is(1125899906842624L));%0A  %7D%0A%7D%0A

add ByteUnit test