Exemplo n.º 1
0
 public void SamplePairAnalysisTest()
 {
     string result;
     using (var stego = new Bitmap(TestingConstants.NormalJpgImage))
     {
         var analyser = new StegAnalyser(false, true, false);
         result = analyser.Run(stego);
     }
     Assert.IsFalse(string.IsNullOrEmpty(result));
 }
Exemplo n.º 2
0
 protected override void RunWithParameters()
 {
     if (Configured)
     {
         InitializeRun();
         string result;
         var analyzer = new StegAnalyser(mRsAnalysis, mSamplePair, mLaplacianGraph);
         using (var bitmap = new Bitmap(mImagePath))
         {
             result = analyzer.Run(bitmap);
         }
         Console.WriteLine(result);
     }
 }