コード例 #1
0
int
main()
{
    std::list<int> const data = build_list();
    test_rbegin(data);
    test_rend(data);
    test_resize(data);
    test_size(data);
    test_splice(data);
    return boost::report_errors();
}
コード例 #2
0
int
main()
{
    BOOST_STATIC_ASSERT((!phx::stl::has_mapped_type<std::list<int> >::value));
    BOOST_STATIC_ASSERT((!phx::stl::has_key_type<std::list<int> >::value));

    std::list<int> const data = build_list();
    test_rbegin(data);
    test_rend(data);
    test_resize(data);
    test_size(data);
    test_splice(data);
    return boost::report_errors();
}
コード例 #3
0
ファイル: update.c プロジェクト: catcher22/tarantool
int
main()
{
	/* initialize suite */
	test_suite_setup();
	/* run tests */
	test_simple_set();
	test_long_set();
	test_append();
	test_arith_i32();
	test_arith_i64();
	test_multi_arith();
	test_splice();
	test_set_and_splice();
	test_delete_field();
	test_insert_field();
	test_boundary_args();
	/* clean-up suite */
	test_suite_tear_down();
	return EXIT_SUCCESS;
}