diff options
| author | MDBijman <matthijs@bijman.org> | 2017-01-24 12:15:26 +0100 |
|---|---|---|
| committer | MDBijman <matthijs@bijman.org> | 2017-01-24 12:15:26 +0100 |
| commit | 070ce923574dcc57435cb3fb2dfe86b6a38cd249 (patch) | |
| tree | ffd69a842ac4ad22aaf7161f923b9f0b47c7147a /Testing/include/simulation/workloads/WorkloadHistoryTest.h | |
Initial code commit with organized dependencies
Diffstat (limited to 'Testing/include/simulation/workloads/WorkloadHistoryTest.h')
| -rw-r--r-- | Testing/include/simulation/workloads/WorkloadHistoryTest.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Testing/include/simulation/workloads/WorkloadHistoryTest.h b/Testing/include/simulation/workloads/WorkloadHistoryTest.h new file mode 100644 index 00000000..4cf7f4e3 --- /dev/null +++ b/Testing/include/simulation/workloads/WorkloadHistoryTest.h @@ -0,0 +1,15 @@ +#pragma once +#include "simulation\workloads\WorkloadHistory.h" + +#include <gtest\gtest.h> + +TEST(WorkloadHistoryTest, SetFlopsDone) +{ + Simulation::WorkloadHistory history; + history.setFlopsDone(1, 5); + + auto a = history.history.at(0); + + ASSERT_EQ(a.first, 1); + ASSERT_EQ(a.second, 5); +}
\ No newline at end of file |
