Build and run tests
[reactos.git] / reactos / tools / rbuild / tests / functiontest.cpp
1 #include "test.h"
2
3 using std::string;
4
5 void FunctionTest::Run ()
6 {
7 string fixedupFilename = NormalizeFilename ( "." SSEP "dir1" SSEP "dir2" SSEP ".." SSEP "filename.txt" );
8 ARE_EQUAL ( "dir1" SSEP "filename.txt", fixedupFilename );
9 ARE_EQUAL ( "file.txt", GetFilename ( "file.txt" ) );
10 ARE_EQUAL ( "file.txt", GetFilename ( "dir" SSEP "file.txt" ) );
11 }