why is this code failing?

  • Estado: Closed
  • Premio: $50
  • Propuestas recibidas: 1
  • Ganador: Inno4Future

Resumen del concurso

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.

Habilidades recomendadas

Comentarios del empleador

“fast and accurate solution ”

Imagen del perfil afterhourstech, United States.

Tablero de aclaración pública

  • afterhourstech
    Organizador del concurso
    • 6 años atrás

    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

    • 6 años atrás
  • afterhourstech
    Organizador del concurso
    • 6 años atrás

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

    • 6 años atrás
  • afterhourstech
    Organizador del concurso
    • 6 años atrás

    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.

    • 6 años atrás
  • afterhourstech
    Organizador del concurso
    • 6 años atrás

    PRIZE HAS BEEN INCREASED TO $50.

    • 6 años atrás

Cómo comenzar con los concursos

  • Publica tu concurso

    Publica tu concurso Fácil y rápido

  • Recibe montones de propuestas

    Consigue toneladas de propuestas De todo el mundo

  • Elige la mejor propuesta

    Elige la mejor propuesta ¡Descarga fácilmente los archivos!

Publica un concurso ahora o únete a nosotros hoy