You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2021/03/31 04:54:56 UTC

[incubator-tuweni] branch evm2 created (now e20caef)

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a change to branch evm2
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git.


      at e20caef  Fix hashcode values

This branch includes the following new commits:

     new e20caef  Fix hashcode values

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org


[incubator-tuweni] 01/01: Fix hashcode values

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch evm2
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git

commit e20caef974459636e367a10c67736942f5ff245d
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Tue Mar 30 21:54:27 2021 -0700

    Fix hashcode values
---
 units/src/test/java/org/apache/tuweni/units/bigints/UInt256Test.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/units/src/test/java/org/apache/tuweni/units/bigints/UInt256Test.java b/units/src/test/java/org/apache/tuweni/units/bigints/UInt256Test.java
index a0ae5bd..010ed5d 100644
--- a/units/src/test/java/org/apache/tuweni/units/bigints/UInt256Test.java
+++ b/units/src/test/java/org/apache/tuweni/units/bigints/UInt256Test.java
@@ -1141,9 +1141,9 @@ class UInt256Test {
   @Test
   void testHashcode() {
     UInt256 value = UInt256.ZERO;
-    assertEquals(31, value.hashCode());
+    assertEquals(2111290369, value.hashCode());
     UInt256 valueOne = UInt256.ONE;
-    assertEquals(31, valueOne.hashCode());
+    assertEquals(2111290370, valueOne.hashCode());
   }
 
   @Test

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org