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
470 B
JSON
29 lines
470 B
JSON
{
|
|
"testCases": [
|
|
{
|
|
"it": "-",
|
|
"balances": [
|
|
{
|
|
"account": "a",
|
|
"asset": "COIN",
|
|
"amount": 50
|
|
}
|
|
],
|
|
"expect.postings": [
|
|
{
|
|
"source": "world",
|
|
"destination": "a",
|
|
"amount": 50,
|
|
"asset": "COIN"
|
|
},
|
|
{
|
|
"source": "a",
|
|
"destination": "b",
|
|
"amount": 100,
|
|
"asset": "COIN"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|