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

45 lines
787 B
JSON

{
"testCases": [
{
"it": "-",
"balances": [
{
"account": "a",
"asset": "COIN",
"amount": 100
},
{
"account": "b",
"asset": "COIN",
"amount": 100
},
{
"account": "c",
"asset": "COIN",
"amount": 100
}
],
"expect.postings": [
{
"source": "a",
"destination": "d",
"amount": 61,
"asset": "COIN"
},
{
"source": "b",
"destination": "d",
"amount": 35,
"asset": "COIN"
},
{
"source": "c",
"destination": "d",
"amount": 4,
"asset": "COIN"
}
]
}
]
}