FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rscplus/test/Client/UtilHexStringByteTest.java at master · Open-RSC/rscplus · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Open-RSC
/
rscplus
Public
forked from
RSCPlus/rscplus
Notifications
You must be signed in to change notification settings
Fork
0
Star
7
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
rscplus
/
test
/
Client
/
UtilHexStringByteTest.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (17 loc) · 504 Bytes
Breadcrumbs
rscplus
/
test
/
Client
/
UtilHexStringByteTest.java
Copy path
File metadata and controls
24 lines (17 loc) · 504 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package
Client
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
java
.
util
.
Arrays
;
import
org
.
junit
.
Before
;
import
org
.
junit
.
Test
;
public
class
UtilHexStringByteTest
{
@
Before
public
void
setUp
()
throws
Exception
{
}
@
Test
public
void
testHexStringByte
() {
String
hexString
=
"004579652d3e7665723d6562"
;
byte
[]
expected
= {
0
,
69
,
121
,
101
,
45
,
62
,
118
,
101
,
114
,
61
,
101
,
98
};
byte
[]
actual
=
Util
.
hexStringByte
(
hexString
);
assertTrue
(
Arrays
.
equals
(
expected
,
actual
));
}
}
Back
|
FazBrowse Home
|
New Git URL