My Elma Project
An event loop manager for embedded systems
 All Classes Functions
unit_test.cc
1 #include <iostream>
2 #include <vector>
3 #include <string>
4 #include <chrono>
5 #include "gtest/gtest.h"
6 #include "stopwatch.h"
7 
8 namespace {
9 
10  using namespace elma;
11  using namespace stopwatch;
12 
13  TEST(StopWatch,Construction) {
14  StopWatch sw;
15  ASSERT_EQ("off", sw.current().name());
16  }
17 
18  // More tests go here. You should aim to test every
19  // method of every object, either directly or indirectly,
20  // although testing user interfaces is notoriously
21  // difficult.
22 
23 }
Definition: off.h:6
A stop watch class, that inherits from StateMachine.
Definition: stopwatch.h:16