Skip to content
Snippets Groups Projects
Commit 9e88193e authored by Goik Martin's avatar Goik Martin
Browse files

Typo + import

parent cfaad76c
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,10 @@ public class Diff {
* @param a The first of three parameters
* @param b The second of three parameters
* @param c The third of three parameters
* @return The absolute value of the biggest difference between any possble pair
* @return The absolute value of the biggest difference between any possible pair
* of the three parameters
*/
public static int maxDiff(int a, int b, int c) {
return -123; // TODO: Implement me!
}
}
\ No newline at end of file
}
......@@ -5,11 +5,7 @@ import static org.junit.Assert.assertEquals;
import de.hdm_stuttgart.mi.exam.unitmarking.ExaminationTestDefaults;
import de.hdm_stuttgart.mi.sd1.aufgabe1.Diff;
import org.junit.FixMethodOrder;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.DisableOnDebug;
import org.junit.rules.TestRule;
import org.junit.rules.Timeout;
import org.junit.runners.MethodSorters;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
......
......@@ -17,7 +17,7 @@ public class Diff {
* @param a The first of three parameters
* @param b The second of three parameters
* @param c The third of three parameters
* @return The absolute value of the biggest difference between any possble pair
* @return The absolute value of the biggest difference between any possible pair
* of the three parameters
*/
public static int maxDiff(int a, int b, int c) {
......@@ -26,4 +26,4 @@ public class Diff {
bc = Math.abs(b - c);
return Math.max(ab, Math.max(ac, bc));
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment