int
main()
{
    std::list<int> const data = build_list();
    test_pop_back(data);
    test_pop_front(data);
    test_push_back(data);
    test_push_front(data);
    return boost::report_errors();
}
예제 #2
0
int
main()
{
    std::deque<int> const data = build_deque();
    test_insert(data);
    test_max_size(data);
    test_pop_back(data);
    test_pop_front(data);
    test_push_back(data);
    test_push_front(data);
    test_rbegin(data);
    test_rend(data);
    test_resize(data);
    test_size(data);
    return boost::report_errors();
}
예제 #3
0
파일: Main.cpp 프로젝트: anttitup/c--harkka
int main()
{
	Test* test =new Test();
	test_creating_empty_list(test);
	test_creating_full_list(test);
	test_front(test);
	test_push_front(test);
	test_push_back(test);
	test_pop_front(test);
	test_pop_back(test);
	test_iter(test);
	test_reverse(test);
	test_swap(test);
	test_input(test);	
	test_cp(test);
	test_const_iter(test);
}
예제 #4
0
int
main(void) {
  test_construct_with_null();
  test_construct_with_empty_string();
  test_construct_with_nonempty_string();
  test_append_char();
  test_at();
  test_back();
  test_capacity();
  test_clear();
  test_compare();
  test_data();
  test_empty();
  test_free();
  test_front();
  test_length();
  test_max_size();
  test_pop_back();
  test_push_back();
  test_reserve();
  test_resize();
  test_size();
  return EXIT_SUCCESS;
}