mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-02 03:00:32 -04:00
Added test for gold rank
This commit is contained in:
@@ -14,6 +14,9 @@ describe('computeRank', () => {
|
||||
it('index 7 should be platinum', () => {
|
||||
expect(computeRank(7)).toBe(PlayerRank_Enum.Platinum)
|
||||
});
|
||||
it('index 20 should be gold', () => {
|
||||
expect(computeRank(20)).toBe(PlayerRank_Enum.Gold)
|
||||
});
|
||||
it('index 21 should be silver', () => {
|
||||
expect(computeRank(21)).toBe(PlayerRank_Enum.Silver)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user