10 lines
153 B
Go
10 lines
153 B
Go
|
package main
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestTestMethod(t *testing.T) {
|
||
|
if testMethod(12) != 14 {
|
||
|
t.Fatalf("Unexpected result %d", testMethod((12)))
|
||
|
}
|
||
|
}
|