Leon 5 years ago
parent
commit
2fd71e0808
57 changed files with 126 additions and 128 deletions
  1. 0
    4
      src/main/java/rocks/zipcode/quiz3a/objectorientation/Curry.java
  2. 1
    1
      src/main/java/rocks/zipcode/quiz5/arrays/ArrayUtils.java
  3. 2
    4
      src/main/java/rocks/zipcode/quiz5/collections/Bank.java
  4. 2
    2
      src/main/java/rocks/zipcode/quiz5/collections/Food.java
  5. 1
    1
      src/main/java/rocks/zipcode/quiz5/collections/WordCounter.java
  6. 1
    1
      src/main/java/rocks/zipcode/quiz5/fundamentals/Calculator.java
  7. 1
    1
      src/main/java/rocks/zipcode/quiz5/fundamentals/StringUtils.java
  8. 4
    0
      src/main/java/rocks/zipcode/quiz5/objectorientation/Curry.java
  9. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/Ginger.java
  10. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/Pepper.java
  11. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/Spice.java
  12. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/account/Account.java
  13. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/account/BankAccount.java
  14. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/account/Employee.java
  15. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/account/Transactable.java
  16. 1
    1
      src/main/java/rocks/zipcode/quiz5/objectorientation/account/Worker.java
  17. 2
    2
      src/test/java/rocks/zipcode/quiz5/arrays/arrayutils/GetMiddleElementTest.java
  18. 2
    2
      src/test/java/rocks/zipcode/quiz5/arrays/arrayutils/RemoveMiddleCharacterTest.java
  19. 3
    3
      src/test/java/rocks/zipcode/quiz5/collections/bank/AddBankAccountTest.java
  20. 3
    3
      src/test/java/rocks/zipcode/quiz5/collections/bank/RemoveBankAccountByIndexTest.java
  21. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/ApplyCondimentTest.java
  22. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/ApplySpiceTest.java
  23. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/GetAllCondimentsTest.java
  24. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/GetAllSpicesTest.java
  25. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/GetCondimentCountTest.java
  26. 1
    1
      src/test/java/rocks/zipcode/quiz5/collections/food/GetSpiceCountTest.java
  27. 2
    2
      src/test/java/rocks/zipcode/quiz5/collections/wordcounter/GetWordCountMapTest.java
  28. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/AddTest.java
  29. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/DivideTest.java
  30. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareRootTest.java
  31. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareRootsTest.java
  32. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareTest.java
  33. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquaresTest.java
  34. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SubtractTest.java
  35. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/CapitalizeMiddleCharacterTest.java
  36. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/GetMiddleCharacterTest.java
  37. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/HasDuplicateConsecutiveCharactersTest.java
  38. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/InvertCasingTest.java
  39. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/IsogramNegativeTest.java
  40. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/IsogramPositiveTest.java
  41. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/LowerCaseMiddleCharacterTest.java
  42. 2
    2
      src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/RemoveDuplicateConsecutiveCharactersTest.java
  43. 1
    1
      src/test/java/rocks/zipcode/quiz5/objectorientation/account/AccountPolymorphismTest.java
  44. 4
    4
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/BankAccountPolymorphismTest.java
  45. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositNegativeTest.java
  46. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositPositiveTest.java
  47. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositTest.java
  48. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/WithdrawalNegativeTest.java
  49. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/WithdrawalPositiveTest.java
  50. 5
    5
      src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeeConstructorTest.java
  51. 4
    4
      src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeeDepositTest.java
  52. 5
    5
      src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeePolymorphismTest.java
  53. 3
    3
      src/test/java/rocks/zipcode/quiz5/objectorientation/employee/IncreaseHoursWorkedTest.java
  54. 4
    4
      src/test/java/rocks/zipcode/quiz5/objectorientation/employee/SetBankAccountTest.java
  55. 6
    6
      src/test/java/rocks/zipcode/quiz5/objectorientation/food/GetAllSpicesTest.java
  56. 6
    6
      src/test/java/rocks/zipcode/quiz5/objectorientation/food/GetSpiceCountTest.java
  57. 5
    5
      src/test/java/rocks/zipcode/quiz5/objectorientation/spice/SpicePolymorphismTest.java

+ 0
- 4
src/main/java/rocks/zipcode/quiz3a/objectorientation/Curry.java View File

1
-package rocks.zipcode.quiz3a.objectorientation;
2
-
3
-public class Curry {
4
-}

src/main/java/rocks/zipcode/quiz3a/arrays/ArrayUtils.java → src/main/java/rocks/zipcode/quiz5/arrays/ArrayUtils.java View File

1
-package rocks.zipcode.quiz3a.arrays;
1
+package rocks.zipcode.quiz5.arrays;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/main/java/rocks/zipcode/quiz3a/collections/Bank.java → src/main/java/rocks/zipcode/quiz5/collections/Bank.java View File

1
-package rocks.zipcode.quiz3a.collections;
1
+package rocks.zipcode.quiz5.collections;
2
 
2
 
3
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
4
-
5
-import java.util.List;
3
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
 
4
 
7
 /**
5
 /**
8
  * @author leon on 27/12/2018.
6
  * @author leon on 27/12/2018.

src/main/java/rocks/zipcode/quiz3a/collections/Food.java → src/main/java/rocks/zipcode/quiz5/collections/Food.java View File

1
-package rocks.zipcode.quiz3a.collections;
1
+package rocks.zipcode.quiz5.collections;
2
 
2
 
3
-import rocks.zipcode.quiz3a.objectorientation.Spice;
3
+import rocks.zipcode.quiz5.objectorientation.Spice;
4
 
4
 
5
 import java.util.List;
5
 import java.util.List;
6
 import java.util.Map;
6
 import java.util.Map;

src/main/java/rocks/zipcode/quiz3a/collections/WordCounter.java → src/main/java/rocks/zipcode/quiz5/collections/WordCounter.java View File

1
-package rocks.zipcode.quiz3a.collections;
1
+package rocks.zipcode.quiz5.collections;
2
 
2
 
3
 import java.util.Map;
3
 import java.util.Map;
4
 
4
 

src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java → src/main/java/rocks/zipcode/quiz5/fundamentals/Calculator.java View File

1
-package rocks.zipcode.quiz3a.fundamentals;
1
+package rocks.zipcode.quiz5.fundamentals;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 21/12/2018.
4
  * @author leon on 21/12/2018.

src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java → src/main/java/rocks/zipcode/quiz5/fundamentals/StringUtils.java View File

1
-package rocks.zipcode.quiz3a.fundamentals;
1
+package rocks.zipcode.quiz5.fundamentals;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 21/12/2018.
4
  * @author leon on 21/12/2018.

+ 4
- 0
src/main/java/rocks/zipcode/quiz5/objectorientation/Curry.java View File

1
+package rocks.zipcode.quiz5.objectorientation;
2
+
3
+public class Curry {
4
+}

src/main/java/rocks/zipcode/quiz3a/objectorientation/Ginger.java → src/main/java/rocks/zipcode/quiz5/objectorientation/Ginger.java View File

1
-package rocks.zipcode.quiz3a.objectorientation;
1
+package rocks.zipcode.quiz5.objectorientation;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 27/12/2018.
4
  * @author leon on 27/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/Pepper.java → src/main/java/rocks/zipcode/quiz5/objectorientation/Pepper.java View File

1
-package rocks.zipcode.quiz3a.objectorientation;
1
+package rocks.zipcode.quiz5.objectorientation;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 27/12/2018.
4
  * @author leon on 27/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java → src/main/java/rocks/zipcode/quiz5/objectorientation/Spice.java View File

1
-package rocks.zipcode.quiz3a.objectorientation;
1
+package rocks.zipcode.quiz5.objectorientation;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 27/12/2018.
4
  * @author leon on 27/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/account/Account.java → src/main/java/rocks/zipcode/quiz5/objectorientation/account/Account.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 30/12/2018.
4
  * @author leon on 30/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/account/BankAccount.java → src/main/java/rocks/zipcode/quiz5/objectorientation/account/BankAccount.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 27/12/2018.
4
  * @author leon on 27/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/account/Employee.java → src/main/java/rocks/zipcode/quiz5/objectorientation/account/Employee.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 30/12/2018.
4
  * @author leon on 30/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/account/Transactable.java → src/main/java/rocks/zipcode/quiz5/objectorientation/account/Transactable.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 30/12/2018.
4
  * @author leon on 30/12/2018.

src/main/java/rocks/zipcode/quiz3a/objectorientation/account/Worker.java → src/main/java/rocks/zipcode/quiz5/objectorientation/account/Worker.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 30/12/2018.
4
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/arrays/arrayutils/GetMiddleElementTest.java → src/test/java/rocks/zipcode/quiz5/arrays/arrayutils/GetMiddleElementTest.java View File

1
-package rocks.zipcode.quiz3a.arrays.arrayutils;
1
+package rocks.zipcode.quiz5.arrays.arrayutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.arrays.ArrayUtils;
5
+import rocks.zipcode.quiz5.arrays.ArrayUtils;
6
 
6
 
7
 public class GetMiddleElementTest {
7
 public class GetMiddleElementTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/arrays/arrayutils/RemoveMiddleCharacterTest.java → src/test/java/rocks/zipcode/quiz5/arrays/arrayutils/RemoveMiddleCharacterTest.java View File

1
-package rocks.zipcode.quiz3a.arrays.arrayutils;
1
+package rocks.zipcode.quiz5.arrays.arrayutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.arrays.ArrayUtils;
5
+import rocks.zipcode.quiz5.arrays.ArrayUtils;
6
 
6
 
7
 public class RemoveMiddleCharacterTest {
7
 public class RemoveMiddleCharacterTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/collections/bank/AddBankAccountTest.java → src/test/java/rocks/zipcode/quiz5/collections/bank/AddBankAccountTest.java View File

1
-package rocks.zipcode.quiz3a.collections.bank;
1
+package rocks.zipcode.quiz5.collections.bank;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.collections.Bank;
6
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
5
+import rocks.zipcode.quiz5.collections.Bank;
6
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
7
 
7
 
8
 public class AddBankAccountTest {
8
 public class AddBankAccountTest {
9
     @Test
9
     @Test

src/test/java/rocks/zipcode/quiz3a/collections/bank/RemoveBankAccountByIndexTest.java → src/test/java/rocks/zipcode/quiz5/collections/bank/RemoveBankAccountByIndexTest.java View File

1
-package rocks.zipcode.quiz3a.collections.bank;
1
+package rocks.zipcode.quiz5.collections.bank;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.collections.Bank;
6
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
5
+import rocks.zipcode.quiz5.collections.Bank;
6
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
7
 
7
 
8
 public class RemoveBankAccountByIndexTest {
8
 public class RemoveBankAccountByIndexTest {
9
     @Test
9
     @Test

src/test/java/rocks/zipcode/quiz3a/collections/food/ApplyCondimentTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/ApplyCondimentTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/food/ApplySpiceTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/ApplySpiceTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/food/GetAllCondimentsTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/GetAllCondimentsTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/food/GetAllSpicesTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/GetAllSpicesTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/food/GetCondimentCountTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/GetCondimentCountTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java → src/test/java/rocks/zipcode/quiz5/collections/food/GetSpiceCountTest.java View File

1
-package rocks.zipcode.quiz3a.collections.food;
1
+package rocks.zipcode.quiz5.collections.food;
2
 
2
 
3
 /**
3
 /**
4
  * @author leon on 01/01/2019.
4
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/collections/wordcounter/GetWordCountMapTest.java → src/test/java/rocks/zipcode/quiz5/collections/wordcounter/GetWordCountMapTest.java View File

1
-package rocks.zipcode.quiz3a.collections.wordcounter;
1
+package rocks.zipcode.quiz5.collections.wordcounter;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.collections.WordCounter;
5
+import rocks.zipcode.quiz5.collections.WordCounter;
6
 
6
 
7
 import java.util.Map;
7
 import java.util.Map;
8
 
8
 

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/AddTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/AddTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/DivideTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/DivideTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/SquareRootTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareRootTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 import org.junit.*;
2
 import org.junit.*;
3
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
3
+import rocks.zipcode.quiz5.fundamentals.Calculator;
4
 
4
 
5
 public class SquareRootTest {
5
 public class SquareRootTest {
6
 
6
 

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/SquareRootsTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareRootsTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/SquareTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquareTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/SquaresTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SquaresTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/calculator/SubtractTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/calculator/SubtractTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.calculator;
1
+package rocks.zipcode.quiz5.fundamentals.calculator;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.Calculator;
5
+import rocks.zipcode.quiz5.fundamentals.Calculator;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 01/01/2019.
8
  * @author leon on 01/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/CapitalizeMiddleCharacterTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/CapitalizeMiddleCharacterTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class CapitalizeMiddleCharacterTest {
7
 public class CapitalizeMiddleCharacterTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/GetMiddleCharacterTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/GetMiddleCharacterTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class GetMiddleCharacterTest {
7
 public class GetMiddleCharacterTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/HasDuplicateConsecutiveCharactersTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/HasDuplicateConsecutiveCharactersTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class HasDuplicateConsecutiveCharactersTest {
7
 public class HasDuplicateConsecutiveCharactersTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/InvertCasingTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/InvertCasingTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
 
5
 
6
-import static rocks.zipcode.quiz3a.fundamentals.StringUtils.invertCasing;
6
+import static rocks.zipcode.quiz5.fundamentals.StringUtils.invertCasing;
7
 
7
 
8
 public class InvertCasingTest {
8
 public class InvertCasingTest {
9
     @Test
9
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/IsogramNegativeTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/IsogramNegativeTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 /**
7
 /**
8
  * @author leon on 02/01/2019.
8
  * @author leon on 02/01/2019.

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/IsogramPositiveTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/IsogramPositiveTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class IsogramPositiveTest {
7
 public class IsogramPositiveTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/LowerCaseMiddleCharacterTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/LowerCaseMiddleCharacterTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class LowerCaseMiddleCharacterTest {
7
 public class LowerCaseMiddleCharacterTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/fundamentals/stringutils/RemoveDuplicateConsecutiveCharactersTest.java → src/test/java/rocks/zipcode/quiz5/fundamentals/stringutils/RemoveDuplicateConsecutiveCharactersTest.java View File

1
-package rocks.zipcode.quiz3a.fundamentals.stringutils;
1
+package rocks.zipcode.quiz5.fundamentals.stringutils;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.fundamentals.StringUtils;
5
+import rocks.zipcode.quiz5.fundamentals.StringUtils;
6
 
6
 
7
 public class RemoveDuplicateConsecutiveCharactersTest {
7
 public class RemoveDuplicateConsecutiveCharactersTest {
8
     @Test
8
     @Test

src/test/java/rocks/zipcode/quiz3a/objectorientation/account/AccountPolymorphismTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/account/AccountPolymorphismTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.account;
1
+package rocks.zipcode.quiz5.objectorientation.account;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/BankAccountPolymorphismTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/BankAccountPolymorphismTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.Account;
6
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
7
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.Account;
6
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
7
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
8
 
8
 
9
 /**
9
 /**
10
  * @author leon on 30/12/2018.
10
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/DepositNegativeTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositNegativeTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 02/01/2019.
9
  * @author leon on 02/01/2019.

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/DepositPositiveTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositPositiveTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 02/01/2019.
9
  * @author leon on 02/01/2019.

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/DepositTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/DepositTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 30/12/2018.
9
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/WithdrawalNegativeTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/WithdrawalNegativeTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 30/12/2018.
9
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/bankaccount/WithdrawalPositiveTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/bankaccount/WithdrawalPositiveTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.bankaccount;
1
+package rocks.zipcode.quiz5.objectorientation.bankaccount;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 02/01/2019.
9
  * @author leon on 02/01/2019.

src/test/java/rocks/zipcode/quiz3a/objectorientation/employee/EmployeeConstructorTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeeConstructorTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.employee;
1
+package rocks.zipcode.quiz5.objectorientation.employee;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Employee;
7
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
8
-import rocks.zipcode.quiz3a.objectorientation.account.Worker;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Employee;
7
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
8
+import rocks.zipcode.quiz5.objectorientation.account.Worker;
9
 
9
 
10
 /**
10
 /**
11
  * @author leon on 30/12/2018.
11
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/employee/EmployeeDepositTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeeDepositTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.employee;
1
+package rocks.zipcode.quiz5.objectorientation.employee;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Employee;
7
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Employee;
7
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
8
 
8
 
9
 /**
9
 /**
10
  * @author leon on 30/12/2018.
10
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/employee/EmployeePolymorphismTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/employee/EmployeePolymorphismTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.employee;
1
+package rocks.zipcode.quiz5.objectorientation.employee;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.Account;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Employee;
7
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
8
-import rocks.zipcode.quiz3a.objectorientation.account.Worker;
5
+import rocks.zipcode.quiz5.objectorientation.account.Account;
6
+import rocks.zipcode.quiz5.objectorientation.account.Employee;
7
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
8
+import rocks.zipcode.quiz5.objectorientation.account.Worker;
9
 
9
 
10
 /**
10
 /**
11
  * @author leon on 30/12/2018.
11
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/employee/IncreaseHoursWorkedTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/employee/IncreaseHoursWorkedTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.employee;
1
+package rocks.zipcode.quiz5.objectorientation.employee;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.Employee;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Worker;
5
+import rocks.zipcode.quiz5.objectorientation.account.Employee;
6
+import rocks.zipcode.quiz5.objectorientation.account.Worker;
7
 
7
 
8
 /**
8
 /**
9
  * @author leon on 30/12/2018.
9
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/employee/SetBankAccountTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/employee/SetBankAccountTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.employee;
1
+package rocks.zipcode.quiz5.objectorientation.employee;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.account.BankAccount;
6
-import rocks.zipcode.quiz3a.objectorientation.account.Employee;
7
-import rocks.zipcode.quiz3a.objectorientation.account.Transactable;
5
+import rocks.zipcode.quiz5.objectorientation.account.BankAccount;
6
+import rocks.zipcode.quiz5.objectorientation.account.Employee;
7
+import rocks.zipcode.quiz5.objectorientation.account.Transactable;
8
 
8
 
9
 /**
9
 /**
10
  * @author leon on 30/12/2018.
10
  * @author leon on 30/12/2018.

src/test/java/rocks/zipcode/quiz3a/objectorientation/food/GetAllSpicesTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/food/GetAllSpicesTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.food;
1
+package rocks.zipcode.quiz5.objectorientation.food;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.collections.Food;
6
-import rocks.zipcode.quiz3a.objectorientation.Curry;
7
-import rocks.zipcode.quiz3a.objectorientation.Ginger;
8
-import rocks.zipcode.quiz3a.objectorientation.Pepper;
9
-import rocks.zipcode.quiz3a.objectorientation.Spice;
5
+import rocks.zipcode.quiz5.collections.Food;
6
+import rocks.zipcode.quiz5.objectorientation.Curry;
7
+import rocks.zipcode.quiz5.objectorientation.Ginger;
8
+import rocks.zipcode.quiz5.objectorientation.Pepper;
9
+import rocks.zipcode.quiz5.objectorientation.Spice;
10
 
10
 
11
 import java.util.Arrays;
11
 import java.util.Arrays;
12
 import java.util.List;
12
 import java.util.List;

src/test/java/rocks/zipcode/quiz3a/objectorientation/food/GetSpiceCountTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/food/GetSpiceCountTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.food;
1
+package rocks.zipcode.quiz5.objectorientation.food;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.collections.Food;
6
-import rocks.zipcode.quiz3a.objectorientation.Curry;
7
-import rocks.zipcode.quiz3a.objectorientation.Ginger;
8
-import rocks.zipcode.quiz3a.objectorientation.Pepper;
9
-import rocks.zipcode.quiz3a.objectorientation.Spice;
5
+import rocks.zipcode.quiz5.collections.Food;
6
+import rocks.zipcode.quiz5.objectorientation.Curry;
7
+import rocks.zipcode.quiz5.objectorientation.Ginger;
8
+import rocks.zipcode.quiz5.objectorientation.Pepper;
9
+import rocks.zipcode.quiz5.objectorientation.Spice;
10
 
10
 
11
 import java.util.Map;
11
 import java.util.Map;
12
 import java.util.function.Supplier;
12
 import java.util.function.Supplier;

src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java → src/test/java/rocks/zipcode/quiz5/objectorientation/spice/SpicePolymorphismTest.java View File

1
-package rocks.zipcode.quiz3a.objectorientation.spice;
1
+package rocks.zipcode.quiz5.objectorientation.spice;
2
 
2
 
3
 import org.junit.Assert;
3
 import org.junit.Assert;
4
 import org.junit.Test;
4
 import org.junit.Test;
5
-import rocks.zipcode.quiz3a.objectorientation.Curry;
6
-import rocks.zipcode.quiz3a.objectorientation.Ginger;
7
-import rocks.zipcode.quiz3a.objectorientation.Pepper;
8
-import rocks.zipcode.quiz3a.objectorientation.Spice;
5
+import rocks.zipcode.quiz5.objectorientation.Curry;
6
+import rocks.zipcode.quiz5.objectorientation.Ginger;
7
+import rocks.zipcode.quiz5.objectorientation.Pepper;
8
+import rocks.zipcode.quiz5.objectorientation.Spice;
9
 
9
 
10
 /**
10
 /**
11
  * @author leon on 27/12/2018.
11
  * @author leon on 27/12/2018.