Add gmachine
This commit is contained in:
15
gmachine/calc_test.go
Normal file
15
gmachine/calc_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gmachine
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestCalc(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
var wants uint64 = 1
|
||||
|
||||
got := Calc()
|
||||
|
||||
if wants != got {
|
||||
t.Errorf("want %d, got %d", wants, got)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user