All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.oliviercailloux.javagrade.graders.RootedMarksTree Maven / Gradle / Ivy

The newest version!
package io.github.oliviercailloux.javagrade.graders;

import io.github.oliviercailloux.gitjfs.GitPathRootShaCached;
import io.github.oliviercailloux.grade.Criterion;
import io.github.oliviercailloux.grade.MarksTree;
import io.github.oliviercailloux.grade.SubMarksTree;

public record RootedMarksTree (GitPathRootShaCached root, MarksTree tree) {
  public SubMarksTree commented() {
    return SubMarksTree.given(Criterion.given("Using " + root.getCommit().id().getName()), tree);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy