11 lines
157 B
Go
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)
|
|
}
|
|
} |