projects
/
svjatoslav_commons.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
switched to HTTPS
[svjatoslav_commons.git]
/
eu
/
svjatoslav
/
commons
/
data
/
HexConverterTest.java
1
package eu.svjatoslav.commons.data;
2
3
import static org.junit.Assert.assertEquals;
4
5
import org.junit.Test;
6
7
public class HexConverterTest {
8
9
@Test
10
public void test() {
11
12
final String string = HexConverter.byteArrayToHex(new byte[] { 1, 2,
13
(byte) 255 });
14
15
assertEquals("0102FF", string);
16
17
}
18
}