mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-13 00:09:56 +00:00
11 lines
119 B
Go
11 lines
119 B
Go
|
package main
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestAdd(t *testing.T) {
|
||
|
v := add(1,1)
|
||
|
if v != 2 {
|
||
|
t.Error("1+1 != 2")
|
||
|
}
|
||
|
}
|