public void TestMethod1()
        {
            string strexpected;
            string actualresult = "Error in push-stack is full";
            int    number       = -1;
            int    topindex     = -1;
            int    maxlen       = -1;

            C565Appln_Testcases.Class1 obj = new C565Appln_Testcases.Class1();
            strexpected = obj.push(number, topindex, maxlen);
            Assert.AreEqual(strexpected, actualresult);
        }
        public void TestMethod2()
        {
            string strexpected;
            string actualresult;

            int[] stack_ref = new int[100];
            int   number    = 2;
            int   topindex  = -1;
            int   maxlen    = 99;

            //stack_ref[++topindex] = number;

            //strexpected = stack_ref[++topindex];
            C565Appln_Testcases.Class1 obj = new C565Appln_Testcases.Class1();
            strexpected  = obj.push(number, topindex, maxlen);
            actualresult = Convert.ToString(++topindex);
            Assert.AreEqual(strexpected, actualresult);
        }