summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/com/mbien/opencl/HighLevelBindingTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/com/mbien/opencl/HighLevelBindingTest.java b/test/com/mbien/opencl/HighLevelBindingTest.java
index 3a75e03c..a6520851 100644
--- a/test/com/mbien/opencl/HighLevelBindingTest.java
+++ b/test/com/mbien/opencl/HighLevelBindingTest.java
@@ -1,6 +1,7 @@
package com.mbien.opencl;
import com.mbien.opencl.CLMemory.Mem;
+import com.mbien.opencl.CLMemory.GLObjectType;
import com.mbien.opencl.CLSampler.AddressingMode;
import com.mbien.opencl.CLSampler.FilteringMode;
import com.mbien.opencl.CLImageFormat.ChannelOrder;
@@ -65,6 +66,10 @@ public class HighLevelBindingTest {
assertEquals(e, Mem.valueOf(e.CONFIG));
}
+ for (GLObjectType e : GLObjectType.values()) {
+ assertEquals(e, GLObjectType.valueOf(e.TYPE));
+ }
+
// CLSampler enums
for (AddressingMode e : AddressingMode.values()) {
assertEquals(e, AddressingMode.valueOf(e.MODE));