enum Report::Status

Overview

The report status.

Currently, there are only two possible values Success and Failed. Maybe in the future other values could be added in cases where partial progress can be evaluated.

Defined in:

report/report.cr

Enum Members

Success = 0

A status stating a test is currently correct.

Failure = 1

A status stating a test is currently errorneous.

Fatal = 2

An errorneous status which cannot be recovered from.

For example, a fraud attempt could be given this status. The student is informed that the test cannot be corrected.

Instance Method Summary

Instance Method Detail

def failure? #

Returns true if this enum value equals Failure


[View source]
def fatal? #

Returns true if this enum value equals Fatal


[View source]
def success? #

Returns true if this enum value equals Success


[View source]