OSDN Git Service
(root)
/
bytom
/
shuttle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08b48f
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Sun, 29 Sep 2019 06:56:25 +0000
(14:56 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Sun, 29 Sep 2019 06:56:25 +0000
(14:56 +0800)
swap/tradeoff_test.go
[new file with mode: 0644]
patch
|
blob
diff --git a/swap/tradeoff_test.go
b/swap/tradeoff_test.go
new file mode 100644
(file)
index 0000000..
a3610cb
--- /dev/null
+++ b/
swap/tradeoff_test.go
@@ -0,0
+1,15
@@
+package swap
+
+import (
+ "fmt"
+ "testing"
+)
+
+func TestParseUint64(t *testing.T) {
+ s := "12"
+ num, err := ParseUint64(s)
+ if err != nil {
+ fmt.Println(err)
+ }
+ fmt.Println(num)
+}