#47 tests segment