Пример #1
0
        public static void Verify(ISet <string> words, Dawg dawg)
        {
            var d = dawg.ToHashSet();

            if (words.Count != d.Count || !words.IsSubsetOf(d))
            {
Пример #2
0
 public static void Verify(IEnumerable <string> words, Dawg dawg)
 => Verify(words.ToHashSet(), dawg);