| 97 | } |
| 98 | |
| 99 | void at() const { |
| 100 | ProgramMemory pm; |
| 101 | ASSERT_THROW_EQUALS(pm.at(123), std::out_of_range, "ProgramMemory::at"); |
| 102 | ASSERT_THROW_EQUALS(utils::as_const(pm).at(123), std::out_of_range, "ProgramMemory::at"); |
| 103 | } |
| 104 | }; |
| 105 | |
| 106 | REGISTER_TEST(TestProgramMemory) |
no outgoing calls
no test coverage detected