Ejemplo n.º 1
0
        public void CalculateChecksumTest_TC_Sw_GroundCore_Classes_0007_A1_C()
        {
            PIS.Ground.Core.Utility.Crc32_Accessor target = new PIS.Ground.Core.Utility.Crc32_Accessor();
            string actual;

            using (var str = new System.IO.FileStream("D:\\Viswanath\\architecture.pdf", System.IO.FileMode.Open))
            {
                actual = target.CalculateChecksum(str);
            }
            Assert.AreNotEqual("0", actual);
        }
Ejemplo n.º 2
0
        public void CalculateChecksumTest_TC_Sw_GroundCore_Classes_0007_A1_B()
        {
            PIS.Ground.Core.Utility.Crc32_Accessor target = new PIS.Ground.Core.Utility.Crc32_Accessor();
            string actual;

            using (var str = new System.IO.FileStream("C:\\Test.txt", System.IO.FileMode.Open))
            {
                actual = target.CalculateChecksum(str);
            }
            Assert.AreEqual("0", actual);
        }