diff --git a/fx.collections/test/numbers.c b/fx.collections/test/numbers.c index c26b655..6b57f3b 100644 --- a/fx.collections/test/numbers.c +++ b/fx.collections/test/numbers.c @@ -1,12 +1,7 @@ -#include +#include #include int main(void) { - fx_double *d = fx_double_create(6.8); - - printf("double=%lf\n", fx_double_get_value(d)); - fx_double_unref(d); - return 0; } diff --git a/fx.collections/test/simple.c b/fx.collections/test/simple.c index e001aa5..21bc4b0 100644 --- a/fx.collections/test/simple.c +++ b/fx.collections/test/simple.c @@ -2,9 +2,9 @@ int main(void) { - fx_string *string = FX_CSTR("Hello, world!"); + fx_string *string = fx_string_create_from_cstr("Hello, world!"); printf("string object = "); - fx_object_to_string(string, fx_stdout); + fx_object_to_string(string, fx_stdout, NULL); printf("\n"); fx_string_unref(string); return 0;