///|
/// Minimal executable smoke test for embedding the library in a service.
fn main {
let tx = @cstoooo/moonbit-aml.Transaction::new(
id="demo-1",
customer_id="demo-customer",
account_id="demo-account",
amount=12000,
currency="CNY",
region="CN",
occurred_at=0,
)
let rule = @cstoooo/moonbit-aml.Rule::amount_at_least("large-transfer", 10000)
let alerts = @cstoooo/moonbit-aml.evaluate([rule], [tx])
println("alerts=\{alerts.length()}")
}