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