Skip to content
Snippets Groups Projects
Commit dbfab067 authored by Stuart Marks's avatar Stuart Marks
Browse files

minor updates from Maurice

parent d0eff0cc
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ public class A_LambdasAndMethodReferences { ...@@ -172,7 +172,7 @@ public class A_LambdasAndMethodReferences {
@Test @Test
public void a13bifunction() { public void a13bifunction() {
// TODO: write a lambda expression, given two strings, returns the result // TODO: write a lambda expression that, given two strings, returns the result
// of concatenating the first, followed by the second, followed by the // of concatenating the first, followed by the second, followed by the
// first again. // first again.
//UNCOMMENT//BiFunction<String, String, String> bifunc = null; //UNCOMMENT//BiFunction<String, String, String> bifunc = null;
...@@ -186,7 +186,7 @@ public class A_LambdasAndMethodReferences { ...@@ -186,7 +186,7 @@ public class A_LambdasAndMethodReferences {
@Test @Test
public void a14bifunction() { public void a14bifunction() {
// TODO: write a lambda expression that returns the index of // TODO: write a lambda expression that returns the index of
// the first occurrence the second string within the first string, // the first occurrence of the second string within the first string,
// or -1 if the second string doesn't occur within the first string. // or -1 if the second string doesn't occur within the first string.
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null; //UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//BEGINREMOVE //BEGINREMOVE
...@@ -200,7 +200,7 @@ public class A_LambdasAndMethodReferences { ...@@ -200,7 +200,7 @@ public class A_LambdasAndMethodReferences {
@Test @Test
public void a15bifunction() { public void a15bifunction() {
// TODO: write a method reference that returns the index of // TODO: write a method reference that returns the index of
// the first occurrence the second string within the first string, // the first occurrence of the second string within the first string,
// or -1 if the second string doesn't occur within the first string. // or -1 if the second string doesn't occur within the first string.
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null; //UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//BEGINREMOVE //BEGINREMOVE
......
...@@ -4,7 +4,9 @@ import org.junit.runner.RunWith; ...@@ -4,7 +4,9 @@ import org.junit.runner.RunWith;
import org.junit.runners.Suite; import org.junit.runners.Suite;
@RunWith(Suite.class) @RunWith(Suite.class)
// XXX @Suite.SuiteClasses(value={exercises.Exercises.class}) @Suite.SuiteClasses(value={
@Suite.SuiteClasses(value={solutions.Exercises.class}) exercises.A_LambdasAndMethodReferences.class,
exercises.Exercises.class
})
public class JUnit4TestSuite { public class JUnit4TestSuite {
} }
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