create SDL window
Some checks failed
Build and Test verification / build (push) Failing after 26s
Build and Test verification / test (push) Has been skipped

This commit is contained in:
2026-05-09 15:36:53 -05:00
parent c3afcadc0f
commit f72bd8c44f
7 changed files with 151 additions and 28 deletions

View File

@@ -2,9 +2,7 @@
#include <gmock/gmock.h>
#include <memory>
#define private public
#include <App.hpp>
#undef private
#include "App.hpp"
class TestApp : public testing::Test {
@@ -21,16 +19,7 @@ class TestApp : public testing::Test {
TEST_F(TestApp, TestApp_run_nominal) {
createUut();
uut_->run();
// no expect here
//EXPECT_EQ(uut_->run(), 0l);
}
TEST_F(TestApp, TestApp_foo_nominal) {
createUut();
EXPECT_EQ(uut_->foo(), 12);
}