Files
Alessandro ScandoneandGitHub a804f6edf1 feat: color as first class citizen (#160)
reworked balances representation (both internal and external) so that it handles colors as an ad-hoc field instead of relying of string convetions
2026-06-15 15:13:22 +02:00

49 lines
891 B
JSON

{
"testCases": [
{
"it": "-",
"balances": [
{
"account": "alice",
"asset": "USD",
"amount": 10
},
{
"account": "bob",
"asset": "USD",
"amount": 10
}
],
"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"
}
]
}
]
}