public void WordMultiple() { #if !DEBUG Assert.Multiple(() => { #endif var expected = new Dictionary<string, bool> { { "a", true }, { "b", true }, { "c", false } }; var actual = _object.WordMultiple(new[] { "a", "b", "a", "c", "b" }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, bool> { { "a", false }, { "b", false }, { "c", false } }; actual = _object.WordMultiple(new[] { "c", "b", "a" }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, bool> { { "c", true } }; actual = _object.WordMultiple(new[] { "c", "c", "c", "c" }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, bool>(); actual = _object.WordMultiple(new string[0]); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, bool> { { "and", false }, { "this", true } }; actual = _object.WordMultiple(new[] { "this", "and", "this" }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, bool> { { "a", true }, { "b", true }, { "d", true }, { "e", false }, { "x", false }, { "z", true } }; actual = _object.WordMultiple(new[] { "d", "a", "e", "d", "a", "d", "b", "b", "z", "a", "a", "b", "z", "x" }); CollectionAssert.AreEquivalent(expected, actual); #if !DEBUG }); #endif }