{ "function": "initialState", "cases": [ { "name": "seed-7", "args": [ 7 ], "expected": { "width": 20, "height": 20, "snake": [ { "x": 10, "y": 10 }, { "x": 9, "y": 10 }, { "x": 8, "y": 10 } ], "dir": "Right", "nextDir": "Right", "apple": null, "seed": 7, "score": 0, "status": "Playing", "frame": 0 } }, { "name": "seed-is-stored-as-given", "args": [ 4294967295 ], "expected": { "width": 20, "height": 20, "snake": [ { "x": 10, "y": 10 }, { "x": 9, "y": 10 }, { "x": 8, "y": 10 } ], "dir": "Right", "nextDir": "Right", "apple": null, "seed": 4294967295, "score": 0, "status": "Playing", "frame": 0 } } ] }