mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Merge pull request #36 from chrisjwelly/master
Add more tests for fibonacci
This commit is contained in:
@@ -19,6 +19,12 @@ describe('fibonacci', function() {
|
|||||||
xit('doesn\'t accept negatives', function() {
|
xit('doesn\'t accept negatives', function() {
|
||||||
expect(fibonacci(-25)).toEqual("OOPS");
|
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() {
|
xit('DOES accept strings', function() {
|
||||||
expect(fibonacci("8")).toEqual(21);
|
expect(fibonacci("8")).toEqual(21);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user