{ "name": "BasicSingleTurn", "description": "An extremely basic test that checks if a single turn of a battle works correctly. This test has two Pokemon, a Charizard and a Venusaur, and the Charizard uses Ember on the Venusaur.", "battleSetup": { "seed": 10, "canFlee": false, "numberOfSides": 2, "positionsPerSide": 1, "parties": [ { "indices": [[0, 0]], "pokemon": [ { "species": "charizard", "level": 50, "moves": ["ember"] } ] }, { "indices": [[1, 0]], "pokemon": [ { "species": "venusaur", "level": 50, "moves": ["vine_whip"] } ] } ] }, "actions": [ { "$type": "setPokemon", "place": [0, 0], "fromParty": [0, 0] }, { "$type": "setPokemon", "place": [1, 0], "fromParty": [1, 0] }, { "$type": "assert", "value": ".Sides[1].Pokemon[0].CurrentHealth", "expected": 140 }, { "$type": "setMoveChoice", "place": [0, 0], "move": "ember", "target": [1, 0] }, { "$type": "setPassChoice", "place": [1, 0] }, { "$type": "assert", "value": ".Sides[1].Pokemon[0].CurrentHealth", "expected": 78 } ] }