예제 #1
0
        public void LongSerialKeyTest()
        {
            SerialOperations.Operations opr = new SerialOperations.Operations();
            Boolean CheckLongSerial         = opr.VerifyCode("aiwjdoiajwiodjaoiwjdoiajwdoijaowdjiaoiwjdoiajwdoiajwodijaoiwjdoiajwd");

            Assert.IsFalse(CheckLongSerial);
        }
예제 #2
0
        public void InvalidSerialKeyTest()
        {
            SerialOperations.Operations opr = new SerialOperations.Operations();
            Boolean CheckinvalidSerial      = opr.VerifyCode("PDA03-OF3IA-56M75-05JN8-TOLRR");

            Assert.IsFalse(CheckinvalidSerial);
        }
예제 #3
0
        public void NullSerialKeyTest()
        {
            SerialOperations.Operations opr = new SerialOperations.Operations();
            Boolean CheckNullSerial         = opr.VerifyCode("");

            Assert.IsFalse(CheckNullSerial);
        }
예제 #4
0
        public void ValidSerialKeyTest()
        {
            SerialOperations.Operations opr = new SerialOperations.Operations();
            Boolean CheckValidSerial        = opr.VerifyCode("PDA03-OF3IA-56M75-05JN8-TOLES");

            Assert.IsTrue(CheckValidSerial);
        }