Open
Description
Antigen will occasionally produce code similar to:
public static int Main(string[] args)
{
return Antigen();
}
public static int Antigen()
{
new TestClass().Method0();
return string.Join(Environment.NewLine, toPrint).GetHashCode();
}
This then causes the following failure:
Debug: -413924943
Release: 533722869
GH title text:
OutputMismatch
This code will always fail because string.GetHashCode()
is non-deterministic across runs, it is only deterministic within the context of a single run. It would be better if this were to print and compare the contents of toPrint
instead.
Metadata
Metadata
Assignees
Labels
No labels