Step 181: enhanced status bar
This commit is contained in:
16
editor/tests/step181_integration_test.cpp
Normal file
16
editor/tests/step181_integration_test.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
// Step 181: Status bar helper integration checks.
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "NotificationSystem.h"
|
||||
|
||||
int main() {
|
||||
NotificationSystem system;
|
||||
system.notifyAt(NotificationLevel::Info, "Hello", 1.0);
|
||||
const Notification* latest = system.latest();
|
||||
assert(latest != nullptr);
|
||||
assert(latest->message == "Hello");
|
||||
|
||||
printf("step181_integration_test: all assertions passed\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user