why is this code failing?

  • Status: Closed
  • Prêmio: $50
  • Inscrições Recebidas: 1
  • Vencedor: Inno4Future

Síntese do 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

Feedback do Empregador

“fast and accurate solution ”

Foto do perfil afterhourstech, United States.

Painel de Comentários

  • afterhourstech
    Proprietário do Concurso
    • 6 anos 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 anos atrás
  • afterhourstech
    Proprietário do Concurso
    • 6 anos atrás

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

    • 6 anos atrás
  • afterhourstech
    Proprietário do Concurso
    • 6 anos 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 anos atrás
  • afterhourstech
    Proprietário do Concurso
    • 6 anos atrás

    PRIZE HAS BEEN INCREASED TO $50.

    • 6 anos atrás

Como começar com concursos

  • Publique seu concurso

    Publique seu Concurso Rápido e fácil

  • Receba muitas inscrições

    Obtenha Toneladas de Inscrições De todo o mundo

  • Premie a melhor inscrição

    Premie a melhor inscrição Baixe os arquivos, é fácil!

Poste um Concurso ou Junte-se a nós Hoje!