Annotation Type GradeClass

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean allCorrect
      If set to true, then all tests in the class must be ok to receive the grade
      long defaultCpuTimeout
      Default CPU timeout.
      double defaultValue
      Default value for each test in the class.
      double totalValue
      The total value attributed to this test class.
    • Element Detail

      • totalValue

        double totalValue
        The total value attributed to this test class. If -1, then each test will keep its original value. Else, the total for all the tests in this class will be divided by the maximum value and multiplied by totalValue.
        Default:
        -1.0
      • defaultValue

        double defaultValue
        Default value for each test in the class.
        Default:
        1.0
      • allCorrect

        boolean allCorrect
        If set to true, then all tests in the class must be ok to receive the grade
        Default:
        false
      • defaultCpuTimeout

        long defaultCpuTimeout
        Default CPU timeout. Similar to the value cpuTimeout in @Grade.
        Default:
        0L