Esempio n. 1
0
        public void CreateRandomBoolTest()
        {
            RandomValue target = new RandomValue(); // TODO: 初始化為適當值
            List <bool> temp   = new List <bool>();

            for (int i = 0; i < 200; i++)
            {
                temp.Add(target.CreateRandomBool());
            }
            Assert.AreEqual(true, temp.Contains(true) && temp.Contains(false));
        }