diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-07 04:23:13 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-07 04:23:13 +0000 |
commit | 14c9cd86e1b7c6ff27c5000d72721c54a718daac (patch) | |
tree | 4c8bc80066d8a495c01258bab7457e031de0a22e /tests/testsxx.hpp | |
parent | 81c84a38992ce8e38106d86ce85ac3e88ed91a31 (diff) | |
download | dimension-14c9cd86e1b7c6ff27c5000d72721c54a718daac.tar.xz |
New 'Dimension::Tests' namespace for libdimensionxx-tests.
Diffstat (limited to 'tests/testsxx.hpp')
-rw-r--r-- | tests/testsxx.hpp | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/tests/testsxx.hpp b/tests/testsxx.hpp index 1101196..059b006 100644 --- a/tests/testsxx.hpp +++ b/tests/testsxx.hpp @@ -26,21 +26,24 @@ namespace Dimension { - // Helper to return a basic scene - Scene default_scene(); - - // Display abstraction - class Display + namespace Tests { - public: - Display(const Canvas& canvas); - ~Display(); - - void flush(); - - private: - dmnsn_display* m_display; - }; + // Helper to return a basic scene + Scene default_scene(); + + // Display abstraction + class Display + { + public: + Display(const Canvas& canvas); + ~Display(); + + void flush(); + + private: + dmnsn_display* m_display; + }; + } // Print a progress bar of the progress of `progress' std::ostream& operator<<(std::ostream& ostr, |