Ejemplo n.º 1
0
        public static void TestPPDeepScript2()
        {
            string filename = @"..\..\..\..\ProjectTestFiles\Quiz-week06.docx";
            string msghash  = "384:dXOa+qC78kbdvxvga7C5wgbzDdlHAuZLz:Ih8kB9gKC5FthAGz";
            string outhash  = PythonScript.PPDeepHash(filename).Trim();

            Assert.AreEqual(msghash, outhash);
        }
Ejemplo n.º 2
0
        public static void TestPPDeepScript()
        {
            string filename = @"..\..\..\..\ProjectTestFiles\Microsoftsuiteguidance.doc";
            string msghash  = "192:81TH/p5Q+YUrfClLZaAE6/6rNavrgYjk+4bWlLLdPD1l:81THvQpqiSwvxjk+tLLdL";
            string outhash  = PythonScript.PPDeepHash(filename).Trim();

            Assert.AreEqual(msghash, outhash);
        }