I have the following unit test:
string MtrlCode = \"0\";
Assessment target = new Assessment(MtrlCode);
List EdgeCaseSymbolCodes = new List<
First of all, your lists aren't the same. One has 3 elements and the other has 6, so I wouldn't expect them to be equal in the first place.
Second, the List
class only compares as equals if they're the exact same list, not just lists with the same elements. In your case you want to use something like Assert(EdgeCaseSymbolCodesExpected.SequenceEqual(target.HazardSymbols)
which will walk through each element of the lists, comparing each for equality.