mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-08 07:28:40 +00:00
Add another test and put real-version first (#116)
This commit is contained in:
@@ -191,7 +191,7 @@ public class StructLayoutTests
|
||||
|
||||
static int TestStructPassing()
|
||||
{
|
||||
var s = new SequentialStruct { A = 500, B = 50, C = 5000 };
|
||||
var s = new SequentialStruct { A = 500, B = 50, C = 5005 };
|
||||
int result = ProcessSequential(s);
|
||||
if (result != 555) return 50; // 500 + 50 + 5 (C % 1000)
|
||||
|
||||
|
Reference in New Issue
Block a user