-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arreglo bug de acumulacion de magos amarillos
- Loading branch information
Showing
6 changed files
with
87 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,35 @@ | ||
/*import pepita.* | ||
import magos.* | ||
import game.* | ||
describe "group of tests for magos" { | ||
|
||
describe "group of tests for pepita" { | ||
test "Mago Fuego tiene vida" { | ||
const mago = new MagoFuego(position = game.at(0,0)) | ||
assert.equals(100, mago.vida()) | ||
} | ||
|
||
test "Mago Fuego tiene daño" { | ||
const mago = new MagoFuego(position = game.at(0,0)) | ||
assert.equals(40, mago.danio()) | ||
} | ||
|
||
test "Mago Healer tiene vida" { | ||
const mago = new MagoHealer(position = game.at(0,0)) | ||
assert.equals(100, mago.vida()) | ||
} | ||
|
||
test "pepita has initial energy" { | ||
assert.equals(2, pepita.vida()) | ||
test "Mago Healer no tiene daño" { | ||
const mago = new MagoHealer(position = game.at(0,0)) | ||
assert.equals(0, mago.danio()) | ||
} | ||
test "Mago Piedra tiene vida" { | ||
const mago = new MagoPiedra(position = game.at(0,0)) | ||
assert.equals(300, mago.vida()) | ||
} | ||
|
||
test "Mago Piedra no tiene daño" { | ||
const mago = new MagoPiedra(position = game.at(0,0)) | ||
assert.equals(0, mago.danio()) | ||
} | ||
|
||
|
||
} */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters