Add diag strings for some tests to help debug

pull/946/head
Jesse Vincent 4 years ago
parent a646261982
commit cfcfd3b75e
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -48,9 +48,9 @@ class SimulatorTiming : public VirtualDeviceTest {
TEST_F(SimulatorTiming, SimulatorStart) {
// Time doesn't advance in the simulator until after the first cycle runs
ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_0);
ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_0) << "Clock is at 0 ms before we do anything";
RunCycle();
ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_1);
ASSERT_EQ(Kaleidoscope.millisAtCycleStart(), t_1) << "Clock is at 1 ms after the first cycle";
}
TEST_F(SimulatorTiming, TimeElapses) {

Loading…
Cancel
Save