public void ReadToneFrequency2_ReturnsValue() { var result = _configurationReader.ReadToneFrequency2(); result.Should().Be(2); }
public TonePatternDetector(IConfigurationReader configurationReader) { _targetFrequency1 = configurationReader.ReadToneFrequency1(); _targetFrequency2 = configurationReader.ReadToneFrequency2(); _state = PatternState.NoTargetFrequencyDetected; }