@@ -193,6 +193,19 @@ class Release063GameTests(unittest.TestCase):
|
||||
"alice:胜 0 / 负 0 / 平 1,胜率 0.00%;净赚净亏 0 摩拉",
|
||||
rates,
|
||||
)
|
||||
account = self.state()
|
||||
account["wins"] = 12
|
||||
account["losses"] = 15
|
||||
account["ties"] = 3
|
||||
self.engine.ledger._save_player_account(
|
||||
"group-a",
|
||||
person_key,
|
||||
account,
|
||||
MODULE.utc_now(),
|
||||
)
|
||||
wallet = self.command("/摩拉")
|
||||
self.assertIn("21点 无进行中的牌局;已结算胜 0 / 负 0 / 平 1", wallet)
|
||||
self.assertNotIn("已结算胜 12 / 负 15 / 平 3", wallet)
|
||||
self.assertIn("1~2000", self.command("/21点开始2001"))
|
||||
|
||||
def test_multiplayer_blackjack_table_guides_turns_and_settles(self):
|
||||
|
||||
Reference in New Issue
Block a user