comparison UnitTests/main.cpp @ 430:f746592d8301

unit testing
author jodogne
date Wed, 08 May 2013 15:16:13 +0200
parents 09b3c6265a94
children ccf3a0a43dac
comparison
equal deleted inserted replaced
429:09b3c6265a94 430:f746592d8301
336 336
337 337
338 #if defined(__linux) 338 #if defined(__linux)
339 TEST(OrthancInitialization, AbsoluteDirectory) 339 TEST(OrthancInitialization, AbsoluteDirectory)
340 { 340 {
341 ASSERT_EQ("/tmp/coucou", InterpretRelativePath("/tmp", "coucou")); 341 ASSERT_EQ("/tmp/hello", InterpretRelativePath("/tmp", "hello"));
342 ASSERT_EQ("/tmp", InterpretRelativePath("/tmp", "/tmp"));
342 } 343 }
343 #endif 344 #endif
344 345
345 346
346 int main(int argc, char **argv) 347 int main(int argc, char **argv)