why is this code failing?

  • Status: Closed
  • Hadiah: $50
  • Penyertaan diterima: 1
  • Pemenang: Inno4Future

Keterangan Peraduan

Attached is some Java code that reads some shapefiles and checks if a point is inside a shape. Why is the testcase failing? It was working before, and I'm not sure what I changed. FIRST CORRECT SOLUTION WINS THE AWARD.

Kemahiran-kemahiran Cadangan

Maklum balas Majikan

“fast and accurate solution ”

Gambar Profil afterhourstech, United States.

Penyertaan teratas dari peraduan ini

Lihat Penyertaan Lain

Papan Penerangan Awam

  • afterhourstech
    Pemegang Peraduan
    • 3 minggu yang lalu

    UPDATE: There was a problem with the previously uploaded pom.xml. The updated project files are located here: https://drive.google.com/open?id=1dwMjq2CJ3UXBIUQqcpEBjQQJXBzDGWIa

    • 3 minggu yang lalu
  • afterhourstech
    Pemegang Peraduan
    • 3 minggu yang lalu

    Here's a screenshot of debug session: https://drive.google.com/open?id=1_wB2S91woGWLY8wwD6x-GxHcQ7T1AR3Q

    • 3 minggu yang lalu
  • afterhourstech
    Pemegang Peraduan
    • 3 minggu yang lalu

    Updated Problem Description: The code compiles fine on my machine and can execute the TestNG testcase, but the testcase fails with "false" returned where "true" was expected. The testcase is just checking if a specific point falls inside a shape boundary. I believe the problem is something wrong with the shapefile. Some shapefiles work fine and some don't. The ones that are not working were modified and re-saved in QGIS. The other ones are originals from a freelancer. Scroll down for project setup information.

    • 3 minggu yang lalu
  • afterhourstech
    Pemegang Peraduan
    • 3 minggu yang lalu

    PRIZE HAS BEEN INCREASED TO $50.

    • 3 minggu yang lalu

Bagaimana mula dengan peraduan

  • Papar peraduan anda

    Papar Peraduan Anda Cepat dan senang

  • Dapatkan bertan-tan penyertaan

    Dapatkan Bertan-tan Penyertaan Dari seluruh dunia

  • Anugerahkan penyertaan terbaik

    Anugerahkan penyertaan terbaik Muat turun fail-fail - Senang!

Papar Peraduan Sekarang atau Sertai kami Hari Ini!