From 859ea212943f1ddd50d95d45b9f695a58756d317 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 18 Apr 2007 19:14:57 +0200 Subject: [PATCH] more tests --- src/common/tags.cc | 60 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/src/common/tags.cc b/src/common/tags.cc index 818162db0..39b0321da 100644 --- a/src/common/tags.cc +++ b/src/common/tags.cc @@ -184,6 +184,11 @@ Tags::PrettyPrint (std::ostream &os) namespace ns3 { +static bool g_a; +static bool g_b; +static bool g_c; +static bool g_z; + class TagsTest : Test { public: TagsTest (); @@ -210,22 +215,26 @@ struct myTagZ { static void myTagAPrettyPrinterCb (struct myTagA const*a, std::ostream &os) { - os << "struct myTagA, a="<<(uint32_t)a->a<