Skip to content

Commit d143428

Browse files
committed
Fix README.adoc
1 parent 4e9f4b9 commit d143428

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Original site: https://osherove.com/tdd-kata-1.
66

77
== Requirements
88

9-
* Java 11
9+
* Java 21
10+
* Junit 5
1011
* Maven
1112

1213
== The TDD Cycle
@@ -31,10 +32,10 @@ image::TDD-Cycle.png[]
3132
.Step 1
3233
[%collapsible]
3334
====
34-
Create a new method named `int add(String number)` in class `StringCalculator`.
35+
Create a new method named `int add(String numbers)` in class `StringCalculator`.
3536
36-
1. The method can take 0, 1 or 2 numbers, and will return their sum (for an empty string it will return 0). Example inputs: `""` or `""` or `"1,2"`
37-
2. Start with the simplest test case of an empty string, and move to one and two numbers
37+
1. The method can take 0, 1 or 2 numbers, and will return their sum (for an empty string it will return 0). Example inputs: `""` or `"1"` or `"1,2"`.
38+
2. Start with the simplest test case of an empty string, and move to one and two numbers.
3839
3. Remember to solve things as simply as possible, so that you force yourself to write tests you did not think about.
3940
4. Remember to refactor after each passing test.
4041
====

0 commit comments

Comments
 (0)