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();
00019 test_string< StringGen >();
00020 test::assert_new::end();
00021 }
00022