public void TestGetFlagColors() { FlagFactoryWithMap factory = new FlagFactoryWithMap(); IList<Color> colors = factory.GetFlagColors(Nationality.DUTCH); Assert.AreEqual(Color.Red, colors[0]); Assert.AreEqual(Color.White, colors[1]); Assert.AreEqual(Color.Blue, colors[2]); }
public void TestGetFlagColors() { FlagFactoryWithMap factory = new FlagFactoryWithMap(); IList <Color> colors = factory.GetFlagColors(Nationality.DUTCH); Assert.AreEqual(Color.Red, colors[0]); Assert.AreEqual(Color.White, colors[1]); Assert.AreEqual(Color.Blue, colors[2]); }