Final fixes, all tests running

This commit is contained in:
Angelos Chalaris
2018-06-18 20:41:57 +03:00
parent 977adb1198
commit e9594e6355
49 changed files with 2189 additions and 1198 deletions

View File

@ -8,7 +8,7 @@ test('Standard 1v1s', () => {
expect(elo([1200, 1200])).toEqual([1216,1184]);
});
test('Standard 1v1s' ,() => {
expect(elo([1200, 1200], 64)).toBe([1232, 1168]);
expect(elo([1200, 1200], 64)).toEqual([1232, 1168]);
});
test('4 player FFA, all same rank', () => {
expect(elo([1200, 1200, 1200, 1200]).map(Math.round)).toEqual([1246, 1215, 1185, 1154]);