/*
* Copyright 2012 Phil Pratt-Szeliga and other contributors
* http://chirrup.org/
*
* See the file LICENSE for copying permission.
*/
package org.trifort.rootbeer.testcases.rootbeertest.serialization;
import java.util.ArrayList;
import java.util.List;
/*
public class RegularExpressionTest implements TestSerialization {
public List<Kernel> create() {
List<Kernel> ret = new ArrayList<Kernel>();
for(int i = 0; i < 4; ++i){
ret.add(new RegularExpressionRunOnGpu());
}
return ret;
}
public boolean compare(Kernel original, Kernel from_heap) {
RegularExpressionRunOnGpu lhs = (RegularExpressionRunOnGpu) original;
RegularExpressionRunOnGpu rhs = (RegularExpressionRunOnGpu) from_heap;
return lhs.compare(rhs);
}
}
*/
import org.trifort.rootbeer.runtime.Kernel;
import org.trifort.rootbeer.test.TestSerialization;
public class RegularExpressionTest implements TestSerialization {
public List<Kernel> create() {
List<Kernel> ret = new ArrayList<Kernel>();
for(int i = 0; i < 4; ++i){
ret.add(new RegularExpressionRunOnGpu());
}
return ret;
}
public boolean compare(Kernel original, Kernel from_heap) {
RegularExpressionRunOnGpu lhs = (RegularExpressionRunOnGpu) original;
RegularExpressionRunOnGpu rhs = (RegularExpressionRunOnGpu) from_heap;
return lhs.compare(rhs);
}
}