org.tudalgo.algoutils.student.test.StudentTestResultMessageProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoutils-student Show documentation
Show all versions of algoutils-student Show documentation
Common utilities for the Fachgebiet Algorithmik of TU Darmstadt
The newest version!
package org.tudalgo.algoutils.student.test;
/**
* A functional interface used to generate the message for a {@link StudentTestResult}.
*
* @param The type of the object that was tested.
*/
@FunctionalInterface
public interface StudentTestResultMessageProvider {
/**
* Generates the message for the given {@code result}.
*
* @param result The {@link StudentTestResult} to generate the message for.
* @return The generated message.
*/
String getMessage(StudentTestResult result);
}