← poker-tutor
import TestKit
import PokerSession
/// Every suite in the project. `pokerlab test` runs these.
public func runAllTests(verbose: Bool = false, filter: String? = nil) -> Bool {
let t = TestRun(verbose: verbose, filter: filter)
// Every suite starts as the tournament product. A cash test switches the process over for
// its own body and back; this is the net under it, so one suite cannot throw the switch for
// the next.
t.beforeEachSuite = { AppVariant.use(.pokerTutor) }
handEvaluatorTests(t)
equityTests(t)
deckTests(t)
tableTests(t)
seatNumberTests(t)
sidePotTests(t)
structureTests(t)
tournamentTests(t)
preflopTableTests(t)
handReaderTests(t)
personalityTests(t)
botPlayTests(t)
shootoutTests(t)
coachTests(t)
sessionTests(t)
cashTableTests(t)
historyTests(t)
replayTests(t)
scorecardTests(t)
freeViewTests(t)
assessmentTests(t)
drillTests(t)
seatModeTests(t)
ladderTests(t)
chipTrayTests(t)
textSizeTests(t)
textRoleTests(t)
twoCardTests(t)
tableMarkerTests(t)
cardColourTests(t)
boardSizeTests(t)
statTableTests(t)
basicsTests(t)
cashReviewTests(t)
glossaryTests(t)
appStateTests(t)
subscriptionTests(t)
variantTests(t)
paywallTests(t)
freeTierScreensTests(t)
return t.report()
}