X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Feu%2Fsvjatoslav%2Fcommons%2Fdata%2FHexConverterTest.java;h=0b7f0b50a5fe5d9528d73958b605f86976aa00df;hb=8d09d7b91847d4361ef6eb8b9cc4c34e9f9bc96a;hp=105d03ad1746059802b7ade0df1e2b212dffdb1c;hpb=b34ba4499cfbca09bc794a810e460bf1c86dcd34;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 index 105d03a..0b7f0b5 100755 --- a/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java +++ b/src/test/java/eu/svjatoslav/commons/data/HexConverterTest.java @@ -1,27 +1,22 @@ /* - * Svjatoslav Commons - shared library of common functionality. - * Copyright ©2012-2014, 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. + * Svjatoslav Commons - shared library of common functionality. Author: Svjatoslav Agejenko. + * This project is released under Creative Commons Zero (CC0) license. */ - package eu.svjatoslav.commons.data; -import static org.junit.Assert.assertEquals; - 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); - } + } }