From 14c9cd86e1b7c6ff27c5000d72721c54a718daac Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 7 Jul 2009 04:23:13 +0000 Subject: New 'Dimension::Tests' namespace for libdimensionxx-tests. --- tests/testsxx.hpp | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'tests/testsxx.hpp') 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, -- cgit v1.2.3