Skip to content
Snippets Groups Projects
Commit 10b5c0a2 authored by Céline  TREBEAU's avatar Céline TREBEAU
Browse files

feature : offset

parent 8da34055
No related branches found
No related tags found
2 merge requests!47Feature : Multi-channel and Binning,!41Resolve "Consider rescaling (binning) large images"
......@@ -44,7 +44,7 @@ public class ProjectionParametersTest
{
int delta = 1;
String projectionType = "MIP";
assertDoesNotThrow( () -> new ProjectionParameters(delta, projectionType) );
assertDoesNotThrow( () -> new ProjectionParameters(delta, 0, projectionType) );
}
@Test
......@@ -53,7 +53,7 @@ public class ProjectionParametersTest
int delta = -1;
String projectionMethod = "MPI";
DataValidationException exception = assertThrows(DataValidationException.class, () ->
new ProjectionParameters( delta, projectionMethod) );
new ProjectionParameters( delta,0, projectionMethod) );
assertThat(exception).hasMessageContaining( "Delta" );
}
......@@ -63,7 +63,7 @@ public class ProjectionParametersTest
int delta = 1;
String projectionMethod = "unknown method";
DataValidationException exception = assertThrows(DataValidationException.class, () ->
new ProjectionParameters( delta, projectionMethod) );
new ProjectionParameters( delta, 0, projectionMethod) );
assertThat(exception).hasMessageContaining( projectionMethod );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment