algo/go/10_recursion/Fibonacci_test.go
2019-05-15 22:36:32 +08:00

11 lines
157 B
Go

package Recursion
import "testing"
func TestFibs_Fibonacci(t *testing.T) {
fib := NewFibs(10)
for i:=1; i<15; i++{
fib.Fibonacci(i)
fib.Print(i)
}
}