public void Implementation_Calculate_NoDataAlteration() { var hash = dataStore.GetHashCode(); var impl = new AnalysisModuleTaskX.Implementation(); impl.FetchData(dataStore); impl.Calculate(); Assert.AreEqual(hash, dataStore.GetHashCode()); }
static void Main(string[] args) { DataStore.MainInterface dataStore = new DataStore.MainInterface(); FillDataStore.Filler dataGenerator = new FillDataStore.Filler(dataStore); dataGenerator.DoIt(20); AnalysisModuleTaskX.Implementation impl = new AnalysisModuleTaskX.Implementation(); impl.FetchData(dataStore); impl.Calculate(); Console.ReadKey(); }
public void Implementation_Calculate_DoesNotRunWithoutFetchingFirst() { var impl = new AnalysisModuleTaskX.Implementation(); impl.Calculate(); }