Melora Hugues
bd9bba54ba
Ref #1 Create an initial Go module with a simple unit test and a makefile. This can be tested using a CI pipeline, which will ensure that the following commits don't break anything.
9 lines
153 B
Go
9 lines
153 B
Go
package main
|
|
|
|
import "testing"
|
|
|
|
func TestTestMethod(t *testing.T) {
|
|
if testMethod(12) != 14 {
|
|
t.Fatalf("Unexpected result %d", testMethod((12)))
|
|
}
|
|
}
|