Пример #1
0
        public void Includes_WhenTerminalsIncludeTestFor_ReturnsExpected(string[] terminals, string testFor, bool expected)
        {
            // Arrange:
            var ts = new TerminalSet();

            foreach (var terminal in terminals)
            {
                ts.Add(terminal);
            }

            // Act:
            var actual = ts.Includes(testFor);

            // Assert:
            Assert.AreEqual(expected, actual);
        }