Reading your EnumsTest file, I see a bug in the following method, which will
generate a "false-positive" (because it doesn't test what the method name says
it should):
[Test]
public void GetNamesArray()
{
Number[] numbers = Enums.GetValuesArray<Number>();
Assert.IsTrue(numbers.SequenceEqual(new[] { Number.One, Number.Two, Number.Three }));
}
It should call Enums.GetNames, not the .GetValuesArray
Original issue reported on code.google.com by administ...@dynamicgeneration.com on 23 Jan 2013 at 2:17
Original issue reported on code.google.com by
administ...@dynamicgeneration.com
on 23 Jan 2013 at 2:17