private void CalculateReverse() { foreach (var signal in _signals) { var result = _signalProcessor.Reverse(signal); Console.WriteLine($"Reverse {signal} = {result}"); } }
public void Reverse() { const double expectedReadout1 = 5.5; const double expectedReadout2 = 3; const double expectedReadout3 = 1.5; var result = _subject.Reverse(_signal1); Assert.That(result.Readouts, Is.Not.Null); Assert.That(result.Readouts[0], Is.EqualTo(expectedReadout1)); Assert.That(result.Readouts[1], Is.EqualTo(expectedReadout2)); Assert.That(result.Readouts[2], Is.EqualTo(expectedReadout3)); }