public void testGetFlag() { FlagFactory factory = new FlagFactory(); 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 testGetFlag() { FlagFactory factory = new FlagFactory(); 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]); }