Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
a7a1a9d1
Commit
a7a1a9d1
authored
Feb 05, 2019
by
Benedikt Zoennchen
Browse files
remove unnecessary tests for CLLinkedCell.java.
parent
e4413d60
Pipeline
#88959
canceled with stages
in 1 minute and 54 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
VadereUtils/tests/org/vadere/util/math/TestCLLinkedList.java
View file @
a7a1a9d1
...
...
@@ -16,8 +16,7 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.Random
;
import
static
org
.
lwjgl
.
opencl
.
CL10
.
CL_DEVICE_TYPE_GPU
;
import
static
org
.
lwjgl
.
opencl
.
CL10
.
CL_DEVICE_TYPE_CPU
;
import
static
org
.
lwjgl
.
opencl
.
CL10
.
CL_DEVICE_TYPE_ALL
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
/**
...
...
@@ -27,7 +26,7 @@ public class TestCLLinkedList {
private
static
Logger
logger
=
Logger
.
getLogger
(
TestCLLinkedList
.
class
);
private
static
Random
random
=
new
Random
();
private
static
Random
random
=
new
Random
(
0
);
@Before
public
void
setUp
()
throws
Exception
{}
...
...
@@ -121,25 +120,13 @@ public class TestCLLinkedList {
}
@Test
@Ignore
public
void
testGridCellSmallOnCPU
()
throws
IOException
,
OpenCLException
{
testGridCellSmall
(
CL_DEVICE_TYPE_CPU
);
public
void
testGridCellSmall
()
throws
IOException
,
OpenCLException
{
testGridCellSmall
(
CL_DEVICE_TYPE_ALL
);
}
@Test
public
void
testGridCellSmallOnGPU
()
throws
IOException
,
OpenCLException
{
testGridCellSmall
(
CL_DEVICE_TYPE_GPU
);
}
@Test
@Ignore
public
void
testGridCellLargeOnCPU
()
throws
IOException
,
OpenCLException
{
testGridCellLarge
(
CL_DEVICE_TYPE_CPU
);
}
@Test
public
void
testGridCellLargeOnGPU
()
throws
IOException
,
OpenCLException
{
testGridCellLarge
(
CL_DEVICE_TYPE_GPU
);
public
void
testGridCellLarge
()
throws
IOException
,
OpenCLException
{
testGridCellLarge
(
CL_DEVICE_TYPE_ALL
);
}
private
void
testGridCellSmall
(
final
int
deviceType
)
throws
IOException
,
OpenCLException
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment