mirror of
https://github.com/hanzoai/numscript.git
synced 2026-10-30 18:26:57 +00:00
* 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
46 lines
811 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|