Skip to content
Snippets Groups Projects
Commit fe38e865 authored by izabel's avatar izabel
Browse files

test fixes

SVN: 5797
parent 6bfc71d8
No related branches found
No related tags found
No related merge requests found
...@@ -39,18 +39,10 @@ public final class WellGeometryTest extends AbstractFileSystemTestCase ...@@ -39,18 +39,10 @@ public final class WellGeometryTest extends AbstractFileSystemTestCase
{ {
private final Geometry geometry = new WellGeometry(2, 3); private final Geometry geometry = new WellGeometry(2, 3);
@Test @Test(expectedExceptions = AssertionError.class)
public final void testConstructor() public final void testConstructor()
{ {
boolean fail = true; new WellGeometry(-1, 0);
try
{
new WellGeometry(-1, 0);
} catch (AssertionError ex)
{
fail = false;
}
assertFalse(fail);
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment