diff --git a/tests/unit/utility.test.ts b/tests/unit/utility.test.ts index d7b7da2..9677c9b 100644 --- a/tests/unit/utility.test.ts +++ b/tests/unit/utility.test.ts @@ -1,5 +1,3 @@ -import { decode } from 'ripple-binary-codec'; - import { compareUint8Arrays, createRangeFromLength, @@ -15,20 +13,6 @@ import { } from '../../src/utilities'; describe('Utility Functions', () => { - describe('template', () => { - it('should do something', () => { - console.log( - decode( - '12001922000000002400181963201B001DC130202A00000000684000000000000030730075C1260100DBC7CBB16D7BAE3E686A78651470BE7243384AA2F35C0928E4E2CDBF4E3715D200000000000000000000000000000000000000000000672369547266767462725853784C73785657446B74523473647A6A4A677638456E4D4B464B47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0000000C03C9FC819E3C26EC4A58639ADD07F6372E810513F5D3D7374C25C65FDF1AEFE4C500000000000000000000000000000000000000000000000000000000000000008114C9C3EE81E01CB4BE6B7B905872D46BE280759158F3E0107321ED62D2459606EB785F16D3D1C840A143804D7580DF44625E560B1DC9E1800B66F674402FCEC3377F927B3AEBCE1548A89DB11A24206F2520504C08C99E3A0706722283E34828757CFABC640262B0EF06D7A077ADD7E9367DD5BB10462781A3FD4394028114AF233B92B03460E6C2599CC9C773A29D50277EAAE1F1' - ) - ); - console.log( - decode( - '1200192400181963201B001DC130202A00000000684000000000000030730075C1260100DBC7CBB16D7BAE3E686A78651470BE7243384AA2F35C0928E4E2CDBF4E3715D200000000000000000000000000000000000000000000672369547266767462725853784C73785657446B74523473647A6A4A677638456E4D4B464B47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0000000C03C9FC819E3C26EC4A58639ADD07F6372E810513F5D3D7374C25C65FDF1AEFE4C500000000000000000000000000000000000000000000000000000000000000008114C9C3EE81E01CB4BE6B7B905872D46BE280759158F3E0107321ED2C44668E26E34B01FD499DA91FFE04BFEFA51DCC05779EC2B69AC89F0CE3818D7440E4EBEA045B5429871C61576AA81E618918466B4FC77EA0FBD7C39A57BCB942455B71CA0164604A306470B02136AEA1420F415C254C6E0C245131B1ECE2D63A00811437B01400075D2DA23E15EFBEBD323B4C8CB2515BE1F1' - ) - ); - }); - }); describe('shiftValue', () => { it('correctly shifts the value by a power of 10^8', () => { const value = 1;