Merge pull request #36 from chrisjwelly/master
Add more tests for fibonacci
This commit is contained in:
commit
c2ca1d7acc
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@ describe('fibonacci', function() {
|
|||
xit('doesn\'t accept negatives', function() {
|
||||
expect(fibonacci(-25)).toEqual("OOPS");
|
||||
});
|
||||
xit('DOES accept strings', function() {
|
||||
expect(fibonacci("1")).toEqual(1);
|
||||
});
|
||||
xit('DOES accept strings', function() {
|
||||
expect(fibonacci("2")).toEqual(1);
|
||||
});
|
||||
xit('DOES accept strings', function() {
|
||||
expect(fibonacci("8")).toEqual(21);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue