public void WhenDataIsRecordedAndGetDataIsCalled() { _firstTrial = 150; _secondTrial = 300; _rewardOne = -5; _rewardTwo = 10; var cumulativeDataRecorder = new CumulativeDataRepository(); cumulativeDataRecorder.IncrementTrial(_firstTrial); cumulativeDataRecorder.Insert(_rewardOne); cumulativeDataRecorder.IncrementTrial(_secondTrial); cumulativeDataRecorder.Insert(_rewardTwo); _cumulativeRewardPerTestTrial = cumulativeDataRecorder.GetData(); }
public void WhenDataIsRecordedAndGetDataIsCalled() { _currentTrial = 150; _reward = -5; var cumulativeDataRecorder = new CumulativeDataRepository(); cumulativeDataRecorder.IncrementTrial(_currentTrial); cumulativeDataRecorder.Insert(_reward); _cumulativeRewardPerTestTrial = cumulativeDataRecorder.GetData(); }