Commit 0539855f authored by Antony Orlovsky's avatar Antony Orlovsky

Merge branch 'develop' into 'develop'

Image compare

See merge request !21
parents f4e438e6 9b97f78d
......@@ -76,6 +76,7 @@ module.exports.TESTER_TYPE = {
NUMBER_COMPARE: "number_compare",
GREATER_THAN_OR_EQUAL: "greater_than_or_equal",
LESS_THAN_OR_EQUAL: "less_than_or_equal",
IMAGE_COMPARE: "image_compare",
CUSTOM: "custom",
EXTERNAL: "external",
NOT_TEST: "not_test"
......
......@@ -121,6 +121,10 @@ const TaskSchema = new mongoose.Schema({
type: Number,
default: 1.0e-8
},
compareThreshold: {
type: Number,
default: 15
},
inputTestProgram: {
type: mongoose.Schema.Types.ObjectId,
ref: 'Program'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment