public void TestSynchroFront()
        {
            var generator = new GeneratorTestAscan();
            var func = new ProcessingSynchro(1, 2, 1, true);

            var shifted = generator.GetAscans2();
            func.Process(shifted);

            Assert.That(shifted[0][2] == 2, Is.EqualTo(true));
        }
        public void TestMedian()
        {
            var generator = new GeneratorTestAscan();
            var processor = new RawDataProcessor();
            processor.Scenario.Add(new ProcessingMedian());

            var median = processor.Process(generator.GetAscans1());

            Assert.That(median[0], Is.EqualTo(2));
        }
        public void TestSynchroDecline()
        {
            var generator = new GeneratorTestAscan();
            var func = new ProcessingSynchro(1, 2, 7, false);

            var shifted = generator.GetAscans2();
            func.Process(shifted);

            Assert.That(shifted[0][0] == 9, Is.EqualTo(true));
        }
        public void TestAverage()
        {
            var generator = new GeneratorTestAscan();
            var processor = new RawDataProcessor();
            processor.Scenario.Add(new ProcessingAverage());

            var avg = processor.Process(generator.GetAscans1());

            Assert.That(avg[1], Is.EqualTo(5));
        }