/usr/include/wibble/empty.test.h is in libwibble-dev 0.1.28-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | /* -*- C++ -*- (c) 2007 Petr Rockai <me@mornfall.net>
(c) 2007 Enrico Zini <enrico@enricozini.org> */
#include <wibble/test.h>
#include <wibble/empty.h>
using namespace wibble;
struct TestEmpty {
Test basic() {
Empty<int> container;
assert_eq(container.size(), 0u);
Empty<int>::iterator i = container.begin();
assert(i == container.end());
assert(!(i != container.end()));
}
};
|