public function testNormVector() { $directory = new Directory\Filesystem(__DIR__ . '/_source/_files'); $segmentInfo = new Index\SegmentInfo($directory, '_1', 2); $this->assertEquals($segmentInfo->normVector('contents'), "\x69\x6B"); }
public function testNormVector() { $directory = new Directory\Filesystem(dirname(__FILE__) . '/_source/_files'); $segmentInfo = new Index\SegmentInfo($directory, '_1', 2); $this->assertEquals($segmentInfo->normVector('contents'), "ik"); }