diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 16:30:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 16:30:57 +0000 |
commit | 9f975e1e8a7dd0d8d90739829dc07d1188ad51e5 (patch) | |
tree | 2dda260e26488f364aec848262279e6b08c3d99a /tests/path_test.cpp | |
parent | d9269cb513631751e951c07b32b41a496de0a493 (diff) | |
download | raul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.tar.gz raul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.tar.bz2 raul-9f975e1e8a7dd0d8d90739829dc07d1188ad51e5.zip |
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
Diffstat (limited to 'tests/path_test.cpp')
-rw-r--r-- | tests/path_test.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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; } |