From 2df3dc5df3c40b707cde2cfff89c9af77319e06e Mon Sep 17 00:00:00 2001 From: Marcus Jaschen Date: Mon, 1 Jul 2024 09:46:48 +0200 Subject: [PATCH] add test case for issue #107 --- tests/Regression/Github/107/Issue107Test.php | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tests/Regression/Github/107/Issue107Test.php diff --git a/tests/Regression/Github/107/Issue107Test.php b/tests/Regression/Github/107/Issue107Test.php new file mode 100644 index 0000000..9e35d93 --- /dev/null +++ b/tests/Regression/Github/107/Issue107Test.php @@ -0,0 +1,29 @@ +expectException(NotConvergingException::class); + + $coordinate1 = new Coordinate(-5.59248, -78.774002); + $coordinate2 = new Coordinate(5.79, 101.15); + + $coordinate1->getDistance($coordinate2, new Vincenty()); + } +}