mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-17 15:26:03 +00:00
18 lines
220 B
Go
18 lines
220 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestFib(t *testing.T) {
|
|
require.NoError(t, nil)
|
|
d := Fib(1)
|
|
fmt.Println(d)
|
|
if d != 1 {
|
|
t.Errorf("NewDog failled %v", d)
|
|
}
|
|
}
|