public void WhenDataIsRecordedAndGetDataIsCalled() { _fixations = 6; var memoryDataRecorder = new MemoryDataRepository(); memoryDataRecorder.Insert(_fixations); _numberOfTrialsAndFixations = memoryDataRecorder.GetData(); }
static FrameworkFactory() { Repository = new MemoryDataRepository(); ActivationRepository = new AnalysisDataRepository(); BeliefStateRepository = new AnalysisDataRepository(); CumulativeRepository = new CumulativeDataRepository(); CumulativeEpochRepository = new CumulativeEpochDataRepository(); PercentageCorrectRepository = new PercentageCorrectDataRepository(); }
public void WhenDataIsRecordedAndGetAverageIsCalled() { const int firstFixations = 3; const int secondFixations = 4; var memoryDataRecorder = new MemoryDataRepository(); memoryDataRecorder.Insert(firstFixations); memoryDataRecorder.Insert(secondFixations); _average = memoryDataRecorder.GetAverage(); }