Files
numscript/internal/interpreter/testdata/script-tests/variable-asset.num.specs.json
Alessandro ScandoneandGitHub db978f043e test: address pr comments (#86)
* test: moved testdata folder
* test: make test parallel
* chore: remove comments
2025-07-24 12:16:55 +02: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"
}
]
}
]
}