+
/*
* This file is part of DisOrder.
* Copyright (C) 2005, 2007, 2008 Richard Kettlewell
*/
#include "test.h"
-void test_filepart(void) {
- fprintf(stderr, "test_filepart\n");
+static void test_filepart(void) {
check_string(d_dirname("/"), "/");
check_string(d_dirname("////"), "/");
check_string(d_dirname("/spong"), "/");
check_string(strip_extension("foo.bar/wibble.spong"), "foo.bar/wibble");
}
+TEST(filepart);
+
/*
Local Variables:
c-basic-offset:2