Files
Alessandro ScandoneandGitHub 5dfc34cd3c feat: feature flag syntax (#120)
* feat: feature flag syntax

* feat: change syntax

* feat: reject invalid features

* feat: add static check of unknown features

* feat: more defensive args handling

* fix: fix typo
2026-03-04 13:32:35 +00:00

46 lines
811 B
JSON

{
"testCases": [
{
"it": "-",
"balances": {
"alice": {
"USD": 10
},
"bob": {
"USD": 10
},
"swap": {}
},
"variables": {
"ass": "USD"
},
"expect.postings": [
{
"source": "alice",
"destination": "swap",
"amount": 10,
"asset": "USD"
},
{
"source": "bob",
"destination": "swap",
"amount": 5,
"asset": "USD"
},
{
"source": "swap",
"destination": "alice_2",
"amount": 10,
"asset": "USD"
},
{
"source": "swap",
"destination": "bob_2",
"amount": 5,
"asset": "USD"
}
]
}
]
}