summaryrefslogtreecommitdiff
path: root/tests/binder.go
blob: 42ff60dba6790b7afdc21725ea3db4c2e8627538 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package binder

import (
	g "gobang"
)



func test_parseArgs() {
	given := parseArgs([]string { "a", "b", "c" })
	expected := _CLIArgs {
		fromAddr: "b",
		toAddr:   "c",
	}

	g.TAssertEqual(given, expected)
}


func MainTest() {
	test_parseArgs()
}