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",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.66",
|
"version": "2.9.67",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"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[]
|
---@type Card[]
|
||||||
G.playing_cards = G.playing_cards
|
G.playing_cards = G.playing_cards
|
||||||
|
|
||||||
SMODS.Mods.Roland.config = require "config"
|
|
||||||
|
|
||||||
---@type userdata|{getWidth: fun(self: self): number}
|
---@type userdata|{getWidth: fun(self: self): number}
|
||||||
SMODS.Atlas.image_data = SMODS.Atlas.image_data
|
SMODS.Atlas.image_data = SMODS.Atlas.image_data
|
||||||
|
|
||||||
|
---@return Card
|
||||||
|
function copy_card(...)
|
||||||
|
error(...)
|
||||||
|
end
|
||||||
|
|
||||||
|
SMODS.Mods.Roland.config = require "config"
|
||||||
|
|
||||||
--- @type table
|
--- @type table
|
||||||
Talisman = Talisman
|
Talisman = Talisman
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,7 @@ Balatest.TestPlay {
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Balatest.wait_for_input()
|
Balatest.wait_for_input(G.STATES.ROUND_EVAL)
|
||||||
Balatest.wait()
|
|
||||||
end,
|
end,
|
||||||
assert = function()
|
assert = function()
|
||||||
Balatest.assert_chips(2720)
|
Balatest.assert_chips(2720)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue