java icon indicating copy to clipboard operation
java copied to clipboard

Can't run Pythagorean Triplet tests (compilation error)

Open Garfax opened this issue 2 years ago • 2 comments

PythagoreanTripletTest.java fails to compile due to duplicate method declarations:

[ERROR] COMPILATION ERROR : [ERROR] /tmp/solution/src/test/java/PythagoreanTripletTest.java:[100,17] method tripletsWhoseSumIs840() is already defined in class PythagoreanTripletTest [ERROR] /tmp/solution/src/test/java/PythagoreanTripletTest.java:[137,17] method tripletsWhoseSumIs30000() is already defined in class PythagoreanTripletTest

Garfax avatar Aug 25 '22 13:08 Garfax

Hi @Garfax, is the issue still available. I would like to work on it.

2022H1030042G avatar Sep 08 '22 04:09 2022H1030042G

Hi @Garfax, is the issue still available. I would like to work on it.

It's not fixed yet. However, there is a mention just above your comment - someone has already created a pull request that is waiting for approval.

Garfax avatar Sep 08 '22 09:09 Garfax

The PR mentioned (#2160) was merged now. This issue should now be solved.

andrerfcsantos avatar Sep 25 '22 13:09 andrerfcsantos