File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/agent_dart_base/test Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ void leb128Test() {
24
24
lebEncode (BigInt .from (60000000000000000 )).toHex (),
25
25
'808098f4e9b5ca6a' ,
26
26
);
27
+ expect (lebEncode ('1' ).toHex (), '01' );
27
28
28
29
expect (lebDecode (BufferPipe <int >(Uint8List .fromList ([0 ]))), BigInt .zero);
29
30
expect (lebDecode (BufferPipe <int >(Uint8List .fromList ([1 ]))), BigInt .one);
@@ -59,6 +60,7 @@ void leb128Test() {
59
60
slebEncode (BigInt .parse ('60000000000000000' )).toHex (),
60
61
'808098f4e9b5caea00' ,
61
62
);
63
+ expect (slebEncode ('1' ).toHex (), '01' );
62
64
63
65
expect (
64
66
slebDecode (BufferPipe <int >(Uint8List .fromList ([0x7f ]))),
Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ void main() {
41
41
stopwatch.stop ();
42
42
final acc22TimePeriod = stopwatch.elapsed;
43
43
44
- expect (acc21TimePeriod < allCurvesDuration, true );
45
- expect (acc22TimePeriod < allCurvesDuration, true );
44
+ print ([allCurvesDuration, acc21TimePeriod, acc22TimePeriod]);
45
+ expect (acc21TimePeriod <= allCurvesDuration, true );
46
+ expect (acc22TimePeriod <= allCurvesDuration, true );
46
47
expect (acc2.account.identity != null , true );
47
48
expect (acc2.account.ecIdentity != null , true );
48
49
expect (acc21.account.ecIdentity, equals (null ));
You can’t perform that action at this time.
0 commit comments