Skip to content

Commit 5d7917a

Browse files
committed
fix UT
1 parent 0cf437c commit 5d7917a

27 files changed

+110211
-49034
lines changed

absbox/tests/benchmark/china/resp/test01.out.json

Lines changed: 157 additions & 179 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test02.out.json

Lines changed: 89 additions & 111 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test03.out.json

Lines changed: 101 additions & 190 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test04.out.json

Lines changed: 2583 additions & 2583 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test05.out.json

Lines changed: 2430 additions & 4547 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test07.out.json

Lines changed: 899 additions & 1060 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test08.out.json

Lines changed: 1254 additions & 2161 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test09.out.json

Lines changed: 369 additions & 229 deletions
Large diffs are not rendered by default.

absbox/tests/benchmark/china/resp/test10.out.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@
211211
"tag": "AccTxn",
212212
"contents": [
213213
"2021-05-26",
214-
4.47,
215-
-0.78,
214+
4.55,
215+
-0.7,
216216
"<PayInt:A1>"
217217
]
218218
},
@@ -221,7 +221,7 @@
221221
"contents": [
222222
"2021-05-26",
223223
0,
224-
-4.47,
224+
-4.55,
225225
"<PayPrin:A1>"
226226
]
227227
},
@@ -292,8 +292,8 @@
292292
"tag": "AccTxn",
293293
"contents": [
294294
"2021-07-26",
295-
4.04,
296-
-1.16,
295+
4.21,
296+
-0.99,
297297
"<PayInt:A1>"
298298
]
299299
},
@@ -302,7 +302,7 @@
302302
"contents": [
303303
"2021-07-26",
304304
0,
305-
-4.04,
305+
-4.21,
306306
"<PayPrin:A1>"
307307
]
308308
},
@@ -373,8 +373,8 @@
373373
"tag": "AccTxn",
374374
"contents": [
375375
"2022-03-26",
376-
29.42,
377-
-4.66,
376+
30.3,
377+
-3.78,
378378
"<PayInt:A1>"
379379
]
380380
},
@@ -383,7 +383,7 @@
383383
"contents": [
384384
"2022-03-26",
385385
0,
386-
-29.42,
386+
-30.3,
387387
"<PayPrin:A1>"
388388
]
389389
},
@@ -499,9 +499,9 @@
499499
]
500500
},
501501
"bndStepUp": null,
502-
"bndBalance": 100,
502+
"bndBalance": 50.83,
503503
"bndRate": 0.07,
504-
"bndDuePrin": 0,
504+
"bndDuePrin": 50.83,
505505
"bndDueInt": 0,
506506
"bndDueIntOverInt": 0,
507507
"bndDueIntDate": "2022-03-26",
@@ -512,14 +512,14 @@
512512
"tag": "BondTxn",
513513
"contents": [
514514
"2021-04-15",
515-
100,
515+
89.89,
516516
0.59,
517-
0,
517+
10.11,
518518
0.07,
519-
0.59,
519+
10.7,
520520
0,
521521
0,
522-
1.0,
522+
0.8989,
523523
[
524524
"<PayInt:A1>",
525525
"<PayPrin:A1>"
@@ -530,14 +530,14 @@
530530
"tag": "BondTxn",
531531
"contents": [
532532
"2021-05-26",
533-
100,
534-
0.78,
535-
0,
533+
85.34,
534+
0.7,
535+
4.55,
536536
0.07,
537-
0.78,
537+
5.25,
538538
0,
539539
0,
540-
1.0,
540+
0.8534,
541541
[
542542
"<PayInt:A1>",
543543
"<PayPrin:A1>"
@@ -548,14 +548,14 @@
548548
"tag": "BondTxn",
549549
"contents": [
550550
"2021-07-26",
551-
100,
552-
1.16,
553-
0,
551+
81.13,
552+
0.99,
553+
4.21,
554554
0.07,
555-
1.16,
555+
5.2,
556556
0,
557557
0,
558-
1.0,
558+
0.8113,
559559
[
560560
"<PayInt:A1>",
561561
"<PayPrin:A1>"
@@ -566,14 +566,14 @@
566566
"tag": "BondTxn",
567567
"contents": [
568568
"2022-03-26",
569-
100,
570-
4.66,
571-
0,
569+
50.83,
570+
3.78,
571+
30.3,
572572
0.07,
573-
4.66,
573+
34.08,
574574
0,
575575
0,
576-
1.0,
576+
0.5083,
577577
[
578578
"<PayInt:A1>",
579579
"<PayPrin:A1>"
@@ -607,7 +607,7 @@
607607
"bndStepUp": null,
608608
"bndBalance": 20,
609609
"bndRate": 0,
610-
"bndDuePrin": 0,
610+
"bndDuePrin": 20,
611611
"bndDueInt": 0,
612612
"bndDueIntOverInt": 0,
613613
"bndDueIntDate": null,
@@ -1542,7 +1542,7 @@
15421542
"tag": "BondOutstanding",
15431543
"contents": [
15441544
"A1",
1545-
100,
1545+
50.83,
15461546
100
15471547
]
15481548
},

absbox/tests/benchmark/china/resp/test11.out.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@
211211
"tag": "AccTxn",
212212
"contents": [
213213
"2021-05-26",
214-
4.47,
215-
-0.78,
214+
4.55,
215+
-0.7,
216216
"<PayInt:A1>"
217217
]
218218
},
@@ -221,7 +221,7 @@
221221
"contents": [
222222
"2021-05-26",
223223
0,
224-
-4.47,
224+
-4.55,
225225
"<PayPrin:A1>"
226226
]
227227
},
@@ -292,8 +292,8 @@
292292
"tag": "AccTxn",
293293
"contents": [
294294
"2021-07-26",
295-
4.04,
296-
-1.16,
295+
4.21,
296+
-0.99,
297297
"<PayInt:A1>"
298298
]
299299
},
@@ -302,7 +302,7 @@
302302
"contents": [
303303
"2021-07-26",
304304
0,
305-
-4.04,
305+
-4.21,
306306
"<PayPrin:A1>"
307307
]
308308
},
@@ -373,8 +373,8 @@
373373
"tag": "AccTxn",
374374
"contents": [
375375
"2022-03-26",
376-
29.42,
377-
-4.66,
376+
30.3,
377+
-3.78,
378378
"<PayInt:A1>"
379379
]
380380
},
@@ -383,7 +383,7 @@
383383
"contents": [
384384
"2022-03-26",
385385
0,
386-
-29.42,
386+
-30.3,
387387
"<PayPrin:A1>"
388388
]
389389
},
@@ -499,9 +499,9 @@
499499
]
500500
},
501501
"bndStepUp": null,
502-
"bndBalance": 100,
502+
"bndBalance": 50.83,
503503
"bndRate": 0.07,
504-
"bndDuePrin": 0,
504+
"bndDuePrin": 50.83,
505505
"bndDueInt": 0,
506506
"bndDueIntOverInt": 0,
507507
"bndDueIntDate": "2022-03-26",
@@ -512,14 +512,14 @@
512512
"tag": "BondTxn",
513513
"contents": [
514514
"2021-04-15",
515-
100,
515+
89.89,
516516
0.59,
517-
0,
517+
10.11,
518518
0.07,
519-
0.59,
519+
10.7,
520520
0,
521521
0,
522-
1.0,
522+
0.8989,
523523
[
524524
"<PayInt:A1>",
525525
"<PayPrin:A1>"
@@ -530,14 +530,14 @@
530530
"tag": "BondTxn",
531531
"contents": [
532532
"2021-05-26",
533-
100,
534-
0.78,
535-
0,
533+
85.34,
534+
0.7,
535+
4.55,
536536
0.07,
537-
0.78,
537+
5.25,
538538
0,
539539
0,
540-
1.0,
540+
0.8534,
541541
[
542542
"<PayInt:A1>",
543543
"<PayPrin:A1>"
@@ -548,14 +548,14 @@
548548
"tag": "BondTxn",
549549
"contents": [
550550
"2021-07-26",
551-
100,
552-
1.16,
553-
0,
551+
81.13,
552+
0.99,
553+
4.21,
554554
0.07,
555-
1.16,
555+
5.2,
556556
0,
557557
0,
558-
1.0,
558+
0.8113,
559559
[
560560
"<PayInt:A1>",
561561
"<PayPrin:A1>"
@@ -566,14 +566,14 @@
566566
"tag": "BondTxn",
567567
"contents": [
568568
"2022-03-26",
569-
100,
570-
4.66,
571-
0,
569+
50.83,
570+
3.78,
571+
30.3,
572572
0.07,
573-
4.66,
573+
34.08,
574574
0,
575575
0,
576-
1.0,
576+
0.5083,
577577
[
578578
"<PayInt:A1>",
579579
"<PayPrin:A1>"
@@ -607,7 +607,7 @@
607607
"bndStepUp": null,
608608
"bndBalance": 20,
609609
"bndRate": 0,
610-
"bndDuePrin": 0,
610+
"bndDuePrin": 20,
611611
"bndDueInt": 0,
612612
"bndDueIntOverInt": 0,
613613
"bndDueIntDate": null,
@@ -1542,7 +1542,7 @@
15421542
"tag": "BondOutstanding",
15431543
"contents": [
15441544
"A1",
1545-
100,
1545+
50.83,
15461546
100
15471547
]
15481548
},

0 commit comments

Comments
 (0)