balena-supervisor/gosuper/main_test.go

11 lines
119 B
Go
Raw Normal View History

package main
import (
"testing"
)
func TestAdd(t *testing.T) {
v := add(1,1)
if v != 2 {
t.Error("1+1 != 2")
}
}