aboutsummaryrefslogtreecommitdiff
path: root/test/common/queue.h
diff options
context:
space:
mode:
authorMax Horn2009-01-21 02:23:09 +0000
committerMax Horn2009-01-21 02:23:09 +0000
commit53cd1361c503fded70b9d1636c8dc4d6e54834e0 (patch)
tree7d729476ec683aa1da41291ea0f2cae954aa03c8 /test/common/queue.h
parentb7f7a8c660a0a16addb84101f2b594eb4a0ac6e1 (diff)
downloadscummvm-rg350-53cd1361c503fded70b9d1636c8dc4d6e54834e0.tar.gz
scummvm-rg350-53cd1361c503fded70b9d1636c8dc4d6e54834e0.tar.bz2
scummvm-rg350-53cd1361c503fded70b9d1636c8dc4d6e54834e0.zip
Made Common::Stack return refs, thus ensuring that it matches exactly the behavior of FixedStack; added unit tests
svn-id: r35974
Diffstat (limited to 'test/common/queue.h')
-rw-r--r--test/common/queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/common/queue.h b/test/common/queue.h
index e3c0cb0a19..505e056722 100644
--- a/test/common/queue.h
+++ b/test/common/queue.h
@@ -75,6 +75,8 @@ public:
}
TS_ASSERT(q3.empty());
+ TS_ASSERT(!q1.empty());
+ TS_ASSERT(!q2.empty());
}
};