| 64 | } |
| 65 | |
| 66 | size_t |
| 67 | UnitTests::getTimeInMicroSeconds() |
| 68 | { |
| 69 | std::chrono::high_resolution_clock::duration timeNow = |
| 70 | std::chrono::high_resolution_clock::now().time_since_epoch() ; |
| 71 | |
| 72 | return static_cast<size_t>( |
| 73 | std::chrono::duration_cast<std::chrono::microseconds>(timeNow).count() |
| 74 | ) ; |
| 75 | } |
| 76 | |
| 77 | void |
| 78 | UnitTests::testSerialStreamToSerialPortReadWrite() |
nothing calls this directly
no outgoing calls
no test coverage detected