Example #1
0
int
main()
{
    test_short();
    test_long();
    return 0;
}
Example #2
0
File: add.c Project: wgtdkp/wgtcc
int main() {
  test_char();
  test_uchar();
  test_short();
  test_ushort();
  test_int();
  test_uint();
  test_long();
  test_ulong();
  test_float();
  test_double();
  return 0;
}
Example #3
0
int main(int argc, char *argv[]) {
	test_long();
	test_int();
	test_short();
	test_char();
	test_unsigned_long();
	test_unsigned_int();
	test_unsigned_short();
	test_unsigned_char();
#if 0
	test_unsigned_long_long();
	test_long_long();
#endif
	return 0;
}
Example #4
0
void run()
{
    test_zero();
    test_zero_white();
    test_hundred();
    test_minus_hundred();
    test_large();
    test_max();
    fail_minus();
    fail_minus_white();
    fail_minus_alpha();
    fail_too_large();
    fail_as_float();
    fail_as_string();

    test_short();
    test_int();
    test_long();
    test_intmax();
    test_unsigned();
    fail_unsigned_negative();
}