1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 08:30:25 +02:00

Fixed a broken test

This commit is contained in:
Brian Fiete 2019-11-19 10:31:53 -08:00
parent 098ad1ce55
commit 503261e916
3 changed files with 10 additions and 936 deletions

View file

@ -94,13 +94,13 @@ namespace Tests
IHashable ihB = valB;
IHashable ihC = valC;
Test.Assert(ihA.GetHashCode() == (int)valA);
Test.Assert(ihB.GetHashCode() == (int)valB);
Test.Assert(ihC.GetHashCode() == (int)valC);
Test.Assert(ihA.GetHashCode() == (int)(void*)valA);
Test.Assert(ihB.GetHashCode() == (int)(void*)valB);
Test.Assert(ihC.GetHashCode() == (int)(void*)valC);
Test.Assert(GetHash(ihA) == (int)valA);
Test.Assert(GetHash(ihB) == (int)valB);
Test.Assert(GetHash(ihC) == (int)valC);
Test.Assert(GetHash(ihA) == (int)(void*)valA);
Test.Assert(GetHash(ihB) == (int)(void*)valB);
Test.Assert(GetHash(ihC) == (int)(void*)valC);
}
}
}