why is this code failing?

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

Ringkasan 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 Disyorkan

Maklum balas Majikan

“fast and accurate solution ”

Gambar Profil afterhourstech, United States.

Penyertaan teratas dari peraduan ini

Lihat Lagi Entri

Papan Penjelasan Umum

  • afterhourstech
    Penganjur Peraduan
    • 11 bulan 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

    • 11 bulan yang lalu
  • afterhourstech
    Penganjur Peraduan
    • 11 bulan yang lalu

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

    • 11 bulan yang lalu
  • afterhourstech
    Penganjur Peraduan
    • 11 bulan 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.

    • 11 bulan yang lalu
  • afterhourstech
    Penganjur Peraduan
    • 11 bulan yang lalu

    PRIZE HAS BEEN INCREASED TO $50.

    • 11 bulan yang lalu

Bagaimana mula dengan peraduan

  • Paparkan peraduan anda

    Paparkan Peraduan Anda Cepat dan mudah

  • Dapatkan berjuta penyertaan

    Dapatkan Bertan-tan Penyertaan Dari serata dunia

  • Anugerahkan penyertaan terbaik

    Anugerahkan penyertaan terbaik Muat turun fail-fail - Mudah!

Paparkan Peraduan Sekarang atau Sertai kami Hari Ini!