X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Fcommons%2Fdata%2FHexConverterTest.java;h=50b802bc9fbb3351f2d082b03f68b3527bb50987;hb=2082c4e93c58ae61eac0bdf7955e8996f6a19768;hp=2525f9bc65ae66af9dd9bbc46c0e37452dd77629;hpb=fff91edf05201dea6191c450eded1b711baa5493;p=svjatoslav_commons.git diff --git a/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java b/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java old mode 100644 new mode 100755 index 2525f9b..50b802b --- a/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java +++ b/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java @@ -1,18 +1,27 @@ -package eu.svjatoslav.commons.data; +/* + * Svjatoslav Commons - shared library of common functionality. + * Copyright ©2012-2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 3 of the GNU Lesser General Public License + * or later as published by the Free Software Foundation. + */ -import static org.junit.Assert.assertEquals; +package eu.svjatoslav.commons.data; import org.junit.Test; +import static org.junit.Assert.assertEquals; + public class HexConverterTest { - @Test - public void test() { + @Test + public void test() { - final String string = HexConverter.byteArrayToHex(new byte[] { 1, 2, - (byte) 255 }); + final String string = HexConverter.byteArrayToHex(new byte[]{1, 2, + (byte) 255}); - assertEquals("0102FF", string); + assertEquals("0102FF", string); - } + } }