Skip to content

Commit b9e3fab

Browse files
committed
daily refactoring
1 parent 6e301da commit b9e3fab

6 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/main/java/org/teachingkidsprogramming/recipes/completed/section09final/RectangleKata.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ private static void drawTopOrBottom()
2727
Tortoise.turn(90);
2828
}
2929
//
30-
//TIP: Here's one possible set of English comments to solve this challenge
30+
// TIP: Here's one possible set of English comments to solve this challenge
31+
// note the re-factoring as well
3132
//
3233
// Show the tortoise
3334
// Make the tortoise move as fast as possible

src/main/java/org/teachingkidsprogramming/recipes/completed/section09final/RectangleKataTDD.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public class RectangleKataTDD
1212
// TIP: Be sure to run after each line of Java to make sure it works as expected
1313
// Write tests using the Approvals object via the TDD style shown below (using the 'Golden Master paradigm')
1414
// TIP: Fix this test to make it pass to get started
15+
// NOTE: Due to the way the window renders, you must run each test INDIVIDUALLY
1516
@Test
1617
public void testShowsTheTortoise() throws Exception
1718
{

src/main/java/org/teachingkidsprogramming/recipes/completed/section09final/WheelKata.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ private static void drawASide()
3737
Tortoise.turn(125);
3838
}
3939
//
40-
//TIP: Here's one possible set of English comments to solve this challenge
40+
// TIP: Here's one possible set of English comments to solve this challenge
41+
// note the re-factoring as well
4142
//
4243
// Show the tortoise
4344
// Make the tortoise move as fast as possible

src/main/java/org/teachingkidsprogramming/section09final/FizzBuzzGoldenMaster.testNumbers.approved.txt

Whitespace-only changes.

src/main/java/org/teachingkidsprogramming/section09final/RectangleKata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ public static void main(String[] args)
88
// Write the steps to code your rectangle out in English
99
// Translate from English to Java one line at a time
1010
// Run your code after each line of Java to make sure it works as expected
11+
// XTRA CREDIT: After your code is working, re-factor to remove duplication
1112
}
1213
}

src/main/java/org/teachingkidsprogramming/section09final/WheelKata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ public class WheelKata
66
// Write the steps to code your wheel out in English
77
// Translate from English to Java one line at a time
88
// Run your code after each line of Java to make sure it works as expected
9+
// XTRA CREDIT: After your code is working, re-factor to remove duplication
910
}

0 commit comments

Comments
 (0)