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

51 lines
898 B
JSON

{
"testCases": [
{
"it": "-",
"balances": {
"a": {
"COIN": 1000
},
"b": {
"COIN": 40
},
"c": {
"COIN": 1000
},
"d": {
"COIN": 1000
}
},
"variables": {
"max": "COIN 120"
},
"expect.postings": [
{
"source": "a",
"destination": "platform",
"amount": 4,
"asset": "COIN"
},
{
"source": "b",
"destination": "platform",
"amount": 40,
"asset": "COIN"
},
{
"source": "c",
"destination": "platform",
"amount": 56,
"asset": "COIN"
},
{
"source": "d",
"destination": "platform",
"amount": 100,
"asset": "COIN"
}
]
}
]
}