Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
83e7ea21
Commit
83e7ea21
authored
12 years ago
by
gpawel
Browse files
Options
Downloads
Patches
Plain Diff
unit test fixed
SVN: 25003
parent
7e6416a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/PlateGeometryOracleTest.java
+9
-9
9 additions, 9 deletions
...ystemsx/cisd/openbis/dss/etl/PlateGeometryOracleTest.java
with
9 additions
and
9 deletions
screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/etl/PlateGeometryOracleTest.java
+
9
−
9
View file @
83e7ea21
...
...
@@ -69,7 +69,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
{
assertEquals
(
GEOMETRY_1200_WELLS_40X30
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
3
,
4
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
4
,
3
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
,
GEOMETRY_1200_WELLS_40X30
)));
}
...
...
@@ -77,7 +77,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
public
void
testGetSmallestMatchingGeometryForManyLocations
()
throws
Exception
{
assertEquals
(
GEOMETRY_12_WELLS_4X3
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
1
,
1
),
new
WellLocation
(
3
,
4
)),
Arrays
.
asList
(
new
WellLocation
(
1
,
1
),
new
WellLocation
(
4
,
3
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
,
GEOMETRY_12_WELLS_4X3
,
GEOMETRY_1200_WELLS_40X30
)));
}
...
...
@@ -86,7 +86,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
throws
Exception
{
assertEquals
(
GEOMETRY_1200_WELLS_40X30
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
1
,
1
),
new
WellLocation
(
3
,
4
),
new
WellLocation
(
4
,
3
)),
Arrays
new
WellLocation
(
1
,
1
),
new
WellLocation
(
4
,
3
),
new
WellLocation
(
3
,
4
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
,
GEOMETRY_12_WELLS_4X3
,
GEOMETRY_1200_WELLS_40X30
)));
}
...
...
@@ -95,7 +95,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
throws
Exception
{
assertEquals
(
GEOMETRY_16_WELLS_4X4
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
1
,
1
),
new
WellLocation
(
3
,
4
),
new
WellLocation
(
4
,
3
)),
Arrays
new
WellLocation
(
1
,
1
),
new
WellLocation
(
4
,
3
),
new
WellLocation
(
3
,
4
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
,
GEOMETRY_12_WELLS_4X3
,
GEOMETRY_1200_WELLS_40X30
,
GEOMETRY_16_WELLS_4X4
)));
}
...
...
@@ -105,7 +105,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
{
assertEquals
(
GEOMETRY_3X4
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
1
,
2
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
2
,
1
)),
Arrays
.
asList
(
GEOMETRY_3X4
)));
}
...
...
@@ -115,7 +115,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
{
assertEquals
(
GEOMETRY_12_WELLS_3X4
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
1
,
2
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
2
,
1
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
)));
}
...
...
@@ -125,7 +125,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
{
assertEquals
(
GEOMETRY_12_WELLS_3X4
,
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
4
,
3
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
3
,
4
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
)));
}
...
...
@@ -135,7 +135,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
boolean
exceptionThrown
=
false
;
try
{
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
3
,
4
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
4
,
3
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
));
}
catch
(
UserFailureException
ex
)
{
...
...
@@ -150,7 +150,7 @@ public class PlateGeometryOracleTest extends AssertJUnit
boolean
exceptionThrown
=
false
;
try
{
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
5
,
3
)),
PlateGeometryOracle
.
figureGeometry
(
Arrays
.
asList
(
new
WellLocation
(
3
,
5
)),
Arrays
.
asList
(
GEOMETRY_12_WELLS_3X4
));
}
catch
(
UserFailureException
ex
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment