Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

string_test.cpp

Go to the documentation of this file.
00001 #include <gslib/test/assert_new.h>
00002 #define BOOST_AUTO_TEST_MAIN
00003 #include <boost/test/auto_unit_test.hpp>
00004 #include <gslib/static_container/string.h>
00005 #include "test_string.h"
00006 
00007 using namespace gslib;
00008 using namespace static_container;
00009 
00010 struct StringGen {
00011     template < unsigned MaxStrLen >
00012     struct gen {
00013         typedef string< MaxStrLen > type;
00014     };
00015 };
00016 
00017 BOOST_AUTO_UNIT_TEST( test_string_basic ) {
00018     test::assert_new::begin(); // new 呼び出しに怒り狂う!
00019     test_string< StringGen >();
00020     test::assert_new::end();
00021 }
00022 

Generated on Sat Nov 27 15:02:49 2004 for static_container by doxygen 1.3.6