X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Fcommons%2Fdata%2FHexConverterTest.java;h=a7a202588d1795013afa4149fa5cb1f86bd52bc4;hb=b8bd1e820265fc15c39c1ee8c06289ea8b8e2c1c;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..a7a2025 --- 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); - } + } }