
ru.perveevm.polygon.api.entities.ProblemTest Maven / Gradle / Ivy
package ru.perveevm.polygon.api.entities;
/**
* Represents a test in a problem.
*
* @author Perveev Mike ([email protected])
*/
public class ProblemTest {
private Integer index;
private Boolean manual;
private String input;
private String description;
private Boolean useInStatements;
private String scriptLine;
private String group;
private Double points;
private String inputForStatement;
private String outputForStatement;
private Boolean verifyInputOutputForStatements;
/**
* @return Test index.
*/
public Integer getIndex() {
return index;
}
/**
* @return Is true
if the test is manual or false
if it is generated using a generator.
*/
public Boolean getManual() {
return manual;
}
/**
* @return Test input data. It is null
if test is generated.
*/
public String getInput() {
return input;
}
/**
* @return Test description, null
for generated tests.
*/
public String getDescription() {
return description;
}
/**
* @return Is true
if this test is used in statements.
*/
public Boolean getUseInStatements() {
return useInStatements;
}
/**
* @return Script line for generating the test, null
for manual tests.
*/
public String getScriptLine() {
return scriptLine;
}
/**
* @return Group name, can be null
.
*/
public String getGroup() {
return group;
}
/**
* @return Points assigned to the test, can be null
.
*/
public Double getPoints() {
return points;
}
/**
* @return Input redeclaration for statements, can be null
.
*/
public String getInputForStatement() {
return inputForStatement;
}
/**
* @return Output redeclaration for statements, can be null
.
*/
public String getOutputForStatement() {
return outputForStatement;
}
/**
* @return Is true
if input/output redeclaration should be checked. Can be null
.
*/
public Boolean getVerifyInputOutputForStatements() {
return verifyInputOutputForStatements;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy