Skip to content

Commit

Permalink
Update wasm/src/test/java/com/dylibso/chicory/wasm/types/ValueTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: David Phillips <david@acz.org>
  • Loading branch information
andreaTP and electrum authored Oct 14, 2024
1 parent 31deb74 commit f292caa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ public void shouldConvertToArraysHL() {
public void shouldConvertBackFromBytes() {
var value = new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
var result = Value.bytesToVec(value);
long xLow = 506097522914230528L;
long xHigh = 1084818905618843912L;
long xLow = 0x0706_0504_0302_0100L;
long xHigh = 0x0F0E_0D0C_0B0A_0908L;

assertEquals(2, result.length);
assertEquals(xLow, result[0]);
Expand Down

0 comments on commit f292caa

Please sign in to comment.