josephus应该是一个功能。
testString: assert(typeof josephus=='function');
- text: 'josephus(30,3)应该返回一个数字。'
testString: assert(typeof josephus(30,3)=='number');
- text: 'josephus(30,3)应该回29 。'
testString: assert.equal(josephus(30,3),29);
- text: 'josephus(30,5)应该返回3 。'
testString: assert.equal(josephus(30,5),3);
- text: 'josephus(20,2)应该返回9 。'
testString: assert.equal(josephus(20,2),9);
- text: 'josephus(17,6)应该回归2 。'
testString: assert.equal(josephus(17,6),2);
- text: 'josephus(29,4)应该返回2 。'
testString: assert.equal(josephus(29,4),2);
```