mirror of
https://github.com/hanzo-fi/numscript.git
synced 2026-10-30 20:54:52 +00:00
reworked balances representation (both internal and external) so that it handles colors as an ad-hoc field instead of relying of string convetions
29 lines
464 B
JSON
29 lines
464 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "a",
|
|
"asset": "GEM",
|
|
"amount": 1
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "a",
|
|
"destination": "b",
|
|
"amount": 1,
|
|
"asset": "GEM"
|
|
},
|
|
{
|
|
"source": "world",
|
|
"destination": "b",
|
|
"amount": 14,
|
|
"asset": "GEM"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|