function test_path() { $this->assertEqual(fs :: path(array('test')), 'test'); $this->assertEqual(fs :: path(array('test', 'wow')), 'test' . fs :: separator() . 'wow'); $this->assertEqual(fs :: path(array('test', 'wow/')), 'test' . fs :: separator() . 'wow'); $this->assertEqual(fs :: path(array('test'), true), 'test' . fs :: separator()); $this->assertEqual(fs :: path(array('test', 'wow'), true), 'test' . fs :: separator() . 'wow' . fs :: separator()); }