void (String s, long expected) { assertThat(Xxh3.hash(s)).describedAs("Hash as string of: " + s).isEqualTo(expected); assertThat(Xxh3.hash(s.getBytes(StandardCharsets.UTF_8))).describedAs("Hash as bytes of: " + s).isEqualTo(expected); }