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:
parent
098ad1ce55
commit
503261e916
3 changed files with 10 additions and 936 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue