2017-12-19 23:07:51 +00:00
|
|
|
#include <cassert>
|
2017-12-20 15:33:19 +00:00
|
|
|
#include <ods/simplist.h>
|
2017-12-19 23:07:51 +00:00
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
check_simplist(void)
|
|
|
|
{
|
|
|
|
ods::SimpList<int> sl;
|
|
|
|
|
|
|
|
sl.add(0, 1);
|
|
|
|
sl.add(1, 2);
|
|
|
|
sl.add(2, 3);
|
|
|
|
assert(sl.size() == 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
main(void)
|
|
|
|
{
|
|
|
|
check_simplist();
|
|
|
|
}
|