public-ip-tracker/tracker/main_test.go
Melora Hugues bd9bba54ba Create initial Go module
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.
2023-01-05 18:51:53 +01:00

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)))
}
}