Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-cidutil
Commits
6927839e
Commit
6927839e
authored
May 06, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test default encoder
parent
2f1a02b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
cidenc/encoder_test.go
cidenc/encoder_test.go
+8
-0
No files found.
cidenc/encoder_test.go
View file @
6927839e
...
@@ -59,4 +59,12 @@ func TestCidEncoder(t *testing.T) {
...
@@ -59,4 +59,12 @@ func TestCidEncoder(t *testing.T) {
testRecode
(
enc
,
cidv0str
,
cidb32str
)
testRecode
(
enc
,
cidv0str
,
cidb32str
)
testRecode
(
enc
,
cidv1str
,
cidb32str
)
testRecode
(
enc
,
cidv1str
,
cidb32str
)
testRecode
(
enc
,
cidb32str
,
cidb32str
)
testRecode
(
enc
,
cidb32str
,
cidb32str
)
enc
=
Default
()
testEncode
(
enc
,
cidv0
,
cidv0str
)
testEncode
(
enc
,
cidv1
,
cidb32str
)
testRecode
(
enc
,
cidv0str
,
cidv0str
)
testRecode
(
enc
,
cidv1str
,
cidb32str
)
testRecode
(
enc
,
cidb32str
,
cidb32str
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment