16 lines
186 B
Go
16 lines
186 B
Go
|
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)
|
||
|
}
|
||
|
}
|