Files
numscript/internal/interpreter/testdata/script-tests/allocate-dont-take-too-much.num.specs.json
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

34 lines
610 B
JSON

{
"testCases": [
{
"it": "-",
"balances": [
{
"account": "users:001",
"asset": "CREDIT",
"amount": 100
},
{
"account": "users:002",
"asset": "CREDIT",
"amount": 110
}
],
"expect.postings": [
{
"source": "users:001",
"destination": "foo",
"amount": 100,
"asset": "CREDIT"
},
{
"source": "users:002",
"destination": "bar",
"amount": 100,
"asset": "CREDIT"
}
]
}
]
}