Fix unit test
This commit is contained in:
parent
1bc58245f2
commit
3d771c3205
5 changed files with 10 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "2.9.66",
|
||||
"version": "2.9.67",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../../smods/src/game_objects
|
||||
1
refs/src
Symbolic link
1
refs/src
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../smods/src
|
||||
|
|
@ -40,11 +40,16 @@ G.Bakery_charm_area.cards[1].ability.extra = G.Bakery_charm_area.cards[1].abilit
|
|||
---@type Card[]
|
||||
G.playing_cards = G.playing_cards
|
||||
|
||||
SMODS.Mods.Roland.config = require "config"
|
||||
|
||||
---@type userdata|{getWidth: fun(self: self): number}
|
||||
SMODS.Atlas.image_data = SMODS.Atlas.image_data
|
||||
|
||||
---@return Card
|
||||
function copy_card(...)
|
||||
error(...)
|
||||
end
|
||||
|
||||
SMODS.Mods.Roland.config = require "config"
|
||||
|
||||
--- @type table
|
||||
Talisman = Talisman
|
||||
|
||||
|
|
|
|||
|
|
@ -68,8 +68,7 @@ Balatest.TestPlay {
|
|||
}
|
||||
end)
|
||||
|
||||
Balatest.wait_for_input()
|
||||
Balatest.wait()
|
||||
Balatest.wait_for_input(G.STATES.ROUND_EVAL)
|
||||
end,
|
||||
assert = function()
|
||||
Balatest.assert_chips(2720)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue