Пример #1
0
int main()
{
	plan(20);
	test_uints();
	test_ints();
	test_bools();
	test_floats();
	test_doubles();
	test_nils();
	test_strls();
	test_binls();
	test_strs();
	test_bins();
	test_arrays();
	test_maps();
	test_next_on_arrays();
	test_next_on_maps();
	test_compare_uints();
	test_format();
	test_mp_print();
	test_mp_check();
	test_numbers();
	test_overflow();

	return check_plan();
}
Пример #2
0
int UHD_SAFE_MAIN(int argc, char *argv[])
{
    (void) argc;
    (void) argv;

    uhd::set_thread_priority_safe();

    uhd::usrp::multi_usrp::sptr usrp = uhd::usrp::multi_usrp::make(std::string(""));

    usrp->dump_tree("");

    test_strings(usrp);
    test_ints(usrp);
    test_doubles(usrp);
    test_bools(usrp);
    test_stream_cmd(usrp);
    test_time_specs(usrp);
    test_sfpa_port_change(usrp);
    test_trigger_settings(usrp);

    return 0;
}
Пример #3
0
int main()
{
    plan(15);

    test_uints();
    test_ints();
    test_bools();
    test_floats();
    test_doubles();
    test_nils();
    test_strls();
    test_binls();
    test_strs();
    test_bins();
    test_arrays();
    test_maps();
    test_next_on_arrays();
    test_next_on_maps();
    test_compare_uints();

    return check_plan();
}