コード例 #1
0
        public void Not()
        {
            bf.Not();
            for (int i = 0; i < bf.Length; i++)
            {
                Assert.AreEqual(!initalValues[i], bf[i], "#1");
            }

            Assert.AreEqual(Toolbox.Count(initalValues, b => !b), bf.TrueCount, "#2");
        }