diff options
author | Michael Bien <[email protected]> | 2010-02-27 00:44:33 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-27 00:44:33 +0100 |
commit | 34bb39283a30919212b682c34bb54d8cd3626cbd (patch) | |
tree | 5f70f3473cdfffa8562a558cebcec6aa30af8fc7 /test/com | |
parent | 75d392f3fff6d47fdccae9a8915fea61cdbef990 (diff) |
refactored CLGLBuffer into seperate OpenGL buffer and image types.
Diffstat (limited to 'test/com')
-rw-r--r-- | test/com/mbien/opencl/HighLevelBindingTest.java | 5 |
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)); |