diff options
Diffstat (limited to 'src/tests/list2.cpp')
-rw-r--r-- | src/tests/list2.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tests/list2.cpp b/src/tests/list2.cpp new file mode 100644 index 0000000..cd02aef --- /dev/null +++ b/src/tests/list2.cpp | |||
@@ -0,0 +1,19 @@ | |||
1 | #include <bu/list.h> | ||
2 | #include <bu/sio.h> | ||
3 | |||
4 | using namespace Bu; | ||
5 | |||
6 | int main() | ||
7 | { | ||
8 | List<int64_t> lInt; | ||
9 | |||
10 | lInt.append( 512 ); | ||
11 | lInt.append( 1024 ); | ||
12 | lInt.append( 4096 ); | ||
13 | lInt.append( 12 ); | ||
14 | lInt.erase( 12 ); | ||
15 | lInt.append( 12 ); | ||
16 | lInt.erase( 12 ); | ||
17 | lInt.append( 12 ); | ||
18 | } | ||
19 | |||