forked from JavaTX/JavaCompilerCore
31 lines
638 B
Java
31 lines
638 B
Java
package bytecode.operators;
|
|
|
|
import static org.junit.Assert.*;
|
|
|
|
import java.lang.reflect.Method;
|
|
import org.junit.Test;
|
|
import bytecode.SourceFileBytecodeTest;
|
|
|
|
public class SmallerEqualOperatorTest extends RelOperatorTest{
|
|
@Override
|
|
protected void init() {
|
|
testName = "SmallerEqual";
|
|
rootDirectory = System.getProperty("user.dir")+"/test/bytecode/operators/";
|
|
}
|
|
|
|
@Override
|
|
protected Boolean getTest1x2ReturnValue() {
|
|
return new Boolean(true);
|
|
}
|
|
|
|
@Override
|
|
protected Boolean getTest2x2ReturnValue() {
|
|
return new Boolean(true);
|
|
}
|
|
|
|
@Override
|
|
protected Boolean getTest2x1ReturnValue() {
|
|
return new Boolean(false);
|
|
}
|
|
}
|