コード例 #1
0
        public void CanBeExtended(bool a, bool b, bool c, bool o1, bool o2, bool o3, bool o4, bool o5, bool o6, bool o7,
                                  bool o8)
        {
            var result   = _sut.Apply(a, b, c).ToList();
            var expected = new[]
            {
                o1, o2, o3, o4, o5, o6, o7, o8
            };

            Assert.AreEqual(expected.Length, result.Count);

            for (var i = 0; i < expected.Length; i++)
            {
                Assert.AreEqual(expected[i], result[i]);
            }
        }