Orange-OpenSource / its-client

This Intelligent Transportation Systems (ITS) MQTT client based on the JSon ETSI specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...). Let's connect your device or application to our Intelligent Transport Systems (ITS) platform!
MIT License
7 stars 8 forks source link

python: fix issue #130 #141

Closed ymorin-orange closed 2 months ago

ymorin-orange commented 2 months ago

Changes:


How to test:

  1. Run the non-regression test-suite:
    $ cd python/its-quadkeys
    $ ./quadkeys-test

Expected results:

  1. The regerssion test-suite terminates without any error:
    QuadKey empty: OK
    QuadKey in: OK
    QuadKey not in: OK
    QuadKey split (depth): OK
    QuadKey split (extra_depth): OK
    QuadKey shallower: OK
    QuadKey root: OK
    QuadKey neighbours: OK
    QuadKey from lat/lon/depth: OK
    QuadZone optimise: OK
    QuadZone optimise (merge-reduce): OK
    QuadZone serialise: OK
    QuadZone neighbours (depth 7): OK
    QuadZone neighbours (depth 6): OK
    QuadZone addition (neighbours 7): OK
    QuadZone addition (neighbours 6): OK
    QuadZone intersection: OK
    QuadZone substraction (neighbours 7): OK
    QuadZone substraction (neighbours 6): OK
    QuadZone substraction (quadkeys): OK
    QuadZone symmetric substraction (xor): OK
    QuadZone Whole-Earth optimise: OK
    QuadZone Whole-Earth 2 optimise: OK