Exemplo n.º 1
0
        public void GetUnassignedWords()
        {
            WordTargetLayout layout = new WordTargetLayout(new List <string> {
                "VARIABLE", "VALUE", "VAGUE", "UNCLEAR", "NUCLEAR", "STATE"
            });

            layout.AssignWord("VALUE", 2);
            layout.AssignWord("VAGUE", 2);
            List <string> unassigned = new List <string> {
                "UNCLEAR", "NUCLEAR"
            };

            Assert.IsTrue(Enumerable.SequenceEqual(unassigned, layout.GetUnassignedWords()));
        }