Merge pull request #36 from chrisjwelly/master

Add more tests for fibonacci
This commit is contained in:
Cody Loyd 2019-11-27 09:14:33 -06:00 committed by GitHub
commit c2ca1d7acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});