sternBrocot should be a function.
testString: assert(typeof sternBrocot == 'function', 'sternBrocot should be a function.');
- text: sternBrocot(2) should return a number.
testString: assert(typeof sternBrocot(2) == 'number', 'sternBrocot(2) should return a number.');
- text: sternBrocot(2) should return 3.
testString: assert.equal(sternBrocot(2), 3, 'sternBrocot(2) should return 3.');
- text: sternBrocot(3) should return 5.
testString: assert.equal(sternBrocot(3), 5, 'sternBrocot(3) should return 5.');
- text: sternBrocot(5) should return 11.
testString: assert.equal(sternBrocot(5), 11, 'sternBrocot(5) should return 11.');
- text: sternBrocot(7) should return 19.
testString: assert.equal(sternBrocot(7), 19, 'sternBrocot(7) should return 19.');
- text: sternBrocot(10) should return 39.
testString: assert.equal(sternBrocot(10), 39, 'sternBrocot(10) should return 39.');
```