コード例 #1
0
        public void TestNumGen1()
        {
            //Arrange
            arithS AS = new arithS();
            int    numGenCount;

            //Act
            numGenCount = AS.numGen();
            //Assert
            Assert.AreEqual(0, numGenCount);
        }
コード例 #2
0
        public void TestNumGen3()
        {
            //Arrange
            arithS AS = new arithS();
            int    numGenCount;

            //Act
            AS.next();
            AS.next();
            AS.reset();
            numGenCount = AS.numGen();
            //Assert
            Assert.AreEqual(0, numGenCount);
        }