message: Add fix for lsh_projection_test
diff: @@ -87,7 +87,12 @@ TEST(LSHProjectionOpTest2, Dense1DInputs) {
  m.Invoke();
  +#if defined(__s390x__)
  + // Hash returns differently on machines with different endianness
  + EXPECT_THAT(m.GetOutput(), ElementsAre(0, 0, 1, 1, 1, 0));
  +#else
  EXPECT_THAT(m.GetOutput(), ElementsAre(0, 0, 0, 1, 0, 0));
  +#endif
  }
  TEST(LSHProjectionOpTest2, Sparse1DInputs) {
  @@ -98,7 +103,12 @@ TEST(LSHProjectionOpTest2, Sparse1DInputs) {
  m.Invoke();
  +#if defined(__s390x__)
  + // Hash returns differently on machines with different endianness
  + EXPECT_THAT(m.GetOutput(), ElementsAre(0 + 0, 4 + 3, 8 + 2));
  +#else
  EXPECT_THAT(m.GetOutput(), ElementsAre(0 + 0, 4 + 1, 8 + 0));
  +#endif
  }
  TEST(LSHProjectionOpTest2, Sparse3DInputs) {
  @@ -111,7 +121,12 @@ TEST(LSHProjectionOpTest2, Sparse3DInputs) {
  m.Invoke();
  +#if defined(__s390x__)
  + // Hash returns differently on machines with different endianness
  + EXPECT_THAT(m.GetOutput(), ElementsAre(0 + 0, 4 + 3, 8 + 2));
  +#else
  EXPECT_THAT(m.GetOutput(), ElementsAre(0 + 2, 4 + 1, 8 + 1));
  +#endif
  }
  } // namespace
  