From 9f975e1e8a7dd0d8d90739829dc07d1188ad51e5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Oct 2007 16:30:57 +0000 Subject: SharedPtr-ify engine side store. Fix reattaching to engine. Fix connection paths. Remove last dependencies on client (model) library from Serialiser. Fix Raul::PathTable::find_descendants_end. git-svn-id: http://svn.drobilla.net/lad/raul@847 a436a847-0d15-0410-975c-d299462d15a1 --- tests/path_test.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/path_test.cpp b/tests/path_test.cpp index cf62340..c5c4415 100644 --- a/tests/path_test.cpp +++ b/tests/path_test.cpp @@ -14,6 +14,13 @@ main() cerr << !(Path("/foo").is_parent_of(Path("/foo2"))) << endl; cerr << Path::nameify("Signal Level [dB]") << endl; - + + cerr << endl << endl << "Descendants..." << endl; + cerr << "/ /foo " << Path::descendant_comparator("/", "/foo") << endl; + cerr << "/foo /foo/bar " << Path::descendant_comparator("/foo", "/foo/bar") << endl; + cerr << "/foo /foo " << Path::descendant_comparator("/foo", "/foo") << endl; + cerr << "/ / " << Path::descendant_comparator("/", "/") << endl; + cerr << "/baz / " << Path::descendant_comparator("/baz", "/") << endl; + return 0; } -- cgit v1.2.1