public void ConsoleMessagesGetHashCode_Test() { var messagesList = MessagesEnumeration.GetAll <ConsoleMessages>(); var id = 1; foreach (var i in messagesList) { Assert.AreEqual(id.GetHashCode(), i.GetHashCode()); id++; } }
public void ConsoleMessagesGetAll_Test() { var a = MessagesEnumeration.GetAll <ConsoleMessages>(); var id = 1; foreach (var i in a) { Assert.AreEqual(id, i.Id); id++; } }