|
Event-Driven Programming in C++ 1.0
A case study on event-driven programming in C++
|
Unit tests for the Observer pattern implementation. More...
#include <cassert>#include <iostream>#include <string>#include <vector>#include "observer/observer.hpp"#include "observer/subject.hpp"Classes | |
| class | TestObserver |
| A test observer that records notification messages. More... | |
Functions | |
| int | main () |
Unit tests for the Observer pattern implementation.
This file contains tests for verifying the functionality of the Observer pattern implementation. The tests check that:
If any assertion fails, the test will abort, indicating an issue with the implementation.
| int main | ( | ) |