1 describe('tr.util.Fib', function () {
2 it('returns the fibonacci sequence', function () {
3 var fib
= new tr
.util
.Fib();
5 expect(fib
.sequence(5)).toEqual([0, 1, 1, 2, 3]);
8 it('returns the sum of a sequence', function () {
9 var fib
= new tr
.util
.Fib();
11 expect(fib
.sum(5)).toEqual(12);