Browse Source

convert them to bluej

Nhu Nguyen 6 years ago
parent
commit
3b4687fee8

+ 0
- 16
ChapterOneMicro.iml View File

@@ -1,16 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4
-    <output url="file://$MODULE_DIR$/target/classes" />
5
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
-    <content url="file://$MODULE_DIR$">
7
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
9
-      <excludeFolder url="file://$MODULE_DIR$/target" />
10
-    </content>
11
-    <orderEntry type="inheritedJdk" />
12
-    <orderEntry type="sourceFolder" forTests="false" />
13
-    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
14
-    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
15
-  </component>
16
-</module>

BIN
MathUtilities.class View File


+ 82
- 0
MathUtilities.ctxt View File

@@ -0,0 +1,82 @@
1
+#BlueJ class context
2
+comment0.target=MathUtilities
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=baseValue\ difference
5
+comment1.target=java.lang.Integer\ add(int,\ int)
6
+comment1.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
7
+comment10.params=baseValue\ difference
8
+comment10.target=java.lang.Byte\ subtract(byte,\ byte)
9
+comment10.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
10
+comment11.params=baseValue\ difference
11
+comment11.target=java.lang.Float\ subtract(float,\ float)
12
+comment11.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
13
+comment12.params=baseValue\ difference
14
+comment12.target=java.lang.Double\ subtract(double,\ double)
15
+comment12.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
16
+comment13.params=dividend\ divisor
17
+comment13.target=java.lang.Integer\ divide(int,\ int)
18
+comment13.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
19
+comment14.params=dividend\ divisor
20
+comment14.target=java.lang.Long\ divide(long,\ long)
21
+comment14.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
22
+comment15.params=dividend\ divisor
23
+comment15.target=java.lang.Short\ divide(short,\ short)
24
+comment15.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
25
+comment16.params=dividend\ divisor
26
+comment16.target=java.lang.Byte\ divide(byte,\ byte)
27
+comment16.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
28
+comment17.params=dividend\ divisor
29
+comment17.target=java.lang.Float\ divide(float,\ float)
30
+comment17.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
31
+comment18.params=dividend\ divisor
32
+comment18.target=java.lang.Double\ divide(double,\ double)
33
+comment18.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
34
+comment19.params=multiplicand\ multiplier
35
+comment19.target=java.lang.Integer\ multiply(int,\ int)
36
+comment19.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
37
+comment2.params=baseValue\ difference
38
+comment2.target=java.lang.Long\ add(long,\ long)
39
+comment2.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
40
+comment20.params=multiplicand\ multiplier
41
+comment20.target=java.lang.Long\ multiply(long,\ long)
42
+comment20.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
43
+comment21.params=multiplicand\ multiplier
44
+comment21.target=java.lang.Short\ multiply(short,\ short)
45
+comment21.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
46
+comment22.params=multiplicand\ multiplier
47
+comment22.target=java.lang.Byte\ multiply(byte,\ byte)
48
+comment22.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
49
+comment23.params=multiplicand\ multiplier
50
+comment23.target=java.lang.Float\ multiply(float,\ float)
51
+comment23.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
52
+comment24.params=multiplicand\ multiplier
53
+comment24.target=java.lang.Double\ multiply(double,\ double)
54
+comment24.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
55
+comment25.params=
56
+comment25.target=java.lang.Boolean\ returnTrue()
57
+comment25.text=\n\ @return\ true\n
58
+comment26.params=
59
+comment26.target=java.lang.Boolean\ returnFalse()
60
+comment26.text=\n\ @return\ false\n
61
+comment3.params=baseValue\ difference
62
+comment3.target=java.lang.Short\ add(short,\ short)
63
+comment3.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
64
+comment4.params=baseValue\ difference
65
+comment4.target=java.lang.Byte\ add(byte,\ byte)
66
+comment4.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
67
+comment5.params=baseValue\ difference
68
+comment5.target=java.lang.Float\ add(float,\ float)
69
+comment5.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
70
+comment6.params=baseValue\ difference
71
+comment6.target=java.lang.Double\ add(double,\ double)
72
+comment6.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
73
+comment7.params=baseValue\ difference
74
+comment7.target=java.lang.Integer\ subtract(int,\ int)
75
+comment7.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
76
+comment8.params=baseValue\ difference
77
+comment8.target=java.lang.Long\ subtract(long,\ long)
78
+comment8.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
79
+comment9.params=baseValue\ difference
80
+comment9.target=java.lang.Short\ subtract(short,\ short)
81
+comment9.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
82
+numComments=27

src/main/java/com/zipcodewilmington/danny_do_better_exercises/MathUtilities.java → MathUtilities.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 /**
4 4
  * Created by dan on 6/14/17.

BIN
MathUtilitiesTest.class View File


+ 56
- 0
MathUtilitiesTest.ctxt View File

@@ -0,0 +1,56 @@
1
+#BlueJ class context
2
+comment0.target=MathUtilitiesTest
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=
5
+comment1.target=void\ testAdditions()
6
+comment10.params=
7
+comment10.target=void\ testSubtractions3()
8
+comment11.params=
9
+comment11.target=void\ testSubtractions4()
10
+comment12.params=
11
+comment12.target=void\ testSubtractions5()
12
+comment13.params=
13
+comment13.target=void\ testDivision()
14
+comment14.params=
15
+comment14.target=void\ testDivision1()
16
+comment15.params=
17
+comment15.target=void\ testDivision2()
18
+comment16.params=
19
+comment16.target=void\ testDivision3()
20
+comment17.params=
21
+comment17.target=void\ testDivision4()
22
+comment18.params=
23
+comment18.target=void\ testDivision5()
24
+comment19.params=
25
+comment19.target=void\ testMultiplication()
26
+comment2.params=
27
+comment2.target=void\ testAdditions1()
28
+comment20.params=
29
+comment20.target=void\ testMultiplication1()
30
+comment21.params=
31
+comment21.target=void\ testMultiplication2()
32
+comment22.params=
33
+comment22.target=void\ testMultiplication3()
34
+comment23.params=
35
+comment23.target=void\ testMultiplication4()
36
+comment24.params=
37
+comment24.target=void\ testMultiplication5()
38
+comment25.params=
39
+comment25.target=void\ testReturnTrue()
40
+comment26.params=
41
+comment26.target=void\ testReturnFalse()
42
+comment3.params=
43
+comment3.target=void\ testAdditions2()
44
+comment4.params=
45
+comment4.target=void\ testAdditions4()
46
+comment5.params=
47
+comment5.target=void\ testAdditions5()
48
+comment6.params=
49
+comment6.target=void\ testAdditions6()
50
+comment7.params=
51
+comment7.target=void\ testSubtractions()
52
+comment8.params=
53
+comment8.target=void\ testSubtractions1()
54
+comment9.params=
55
+comment9.target=void\ testSubtractions2()
56
+numComments=27

src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestMathUtilities.java → MathUtilitiesTest.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 import org.junit.Test;
4 4
 
@@ -6,7 +6,7 @@ import static org.junit.Assert.*;
6 6
 /**
7 7
  * Created by dan on 6/14/17.
8 8
  */
9
-public class TestMathUtilities {
9
+public class MathUtilitiesTest {
10 10
     private static volatile MathUtilities primativeTypes = new MathUtilities();
11 11
 
12 12
     @Test

BIN
PredicateUtilities.class View File


+ 16
- 0
PredicateUtilities.ctxt View File

@@ -0,0 +1,16 @@
1
+#BlueJ class context
2
+comment0.target=PredicateUtilities
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=x\ y
5
+comment1.target=java.lang.Boolean\ isGreaterThan(int,\ int)
6
+comment1.text=\n\ @param\ x\n\ @param\ y\n\ @return\ true\ if\ `x`\ is\ greater\ than\ `y`\n
7
+comment2.params=x\ y
8
+comment2.target=java.lang.Boolean\ isLessThan(int,\ int)
9
+comment2.text=\n\ @param\ x\n\ @param\ y\n\ @return\ true\ if\ `x`\ is\ less\ than\ `y`\n
10
+comment3.params=x\ y
11
+comment3.target=java.lang.Boolean\ isGreaterThanOrEqualTo(int,\ int)
12
+comment3.text=\n\ @param\ x\n\ @param\ y\n\ @return\ true\ if\ `x`\ is\ greater\ than\ or\ equal\ to\ `y`\n
13
+comment4.params=x\ y
14
+comment4.target=java.lang.Boolean\ isLessThanOrEqualTo(int,\ int)
15
+comment4.text=\n\ @param\ x\n\ @param\ y\n\ @return\ true\ if\ `x`\ is\ less\ than\ or\ equal\ to\ `y`\n
16
+numComments=5

src/main/java/com/zipcodewilmington/danny_do_better_exercises/PredicateUtilities.java → PredicateUtilities.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 /**
4 4
  * Created by dan on 6/14/17.

BIN
PredicateUtilitiesTest.class View File


+ 20
- 0
PredicateUtilitiesTest.ctxt View File

@@ -0,0 +1,20 @@
1
+#BlueJ class context
2
+comment0.target=PredicateUtilitiesTest
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=
5
+comment1.target=void\ testGreaterThanTrue()
6
+comment2.params=
7
+comment2.target=void\ testGreaterThanFalse()
8
+comment3.params=
9
+comment3.target=void\ testLessThanTrue()
10
+comment4.params=
11
+comment4.target=void\ testLessThan1()
12
+comment5.params=
13
+comment5.target=void\ testLessOrEqual1()
14
+comment6.params=
15
+comment6.target=void\ testLessOrEqual2()
16
+comment7.params=
17
+comment7.target=void\ testGreaterOrEqual1()
18
+comment8.params=
19
+comment8.target=void\ testGreaterOrEqual2()
20
+numComments=9

src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestPredicateUtilities.java → PredicateUtilitiesTest.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 import org.junit.Test;
4 4
 
@@ -7,7 +7,7 @@ import static org.junit.Assert.*;
7 7
 /**
8 8
  * Created by dan on 6/14/17.
9 9
  */
10
-public class TestPredicateUtilities {
10
+public class PredicateUtilitiesTest {
11 11
     private static volatile PredicateUtilities math = new PredicateUtilities();
12 12
 
13 13
     @Test

+ 7
- 11
README.md View File

@@ -11,16 +11,16 @@
11 11
     * [primitive data-types](http://cs.fit.edu/~ryan/java/language/java-data.html)
12 12
     * [method signatures and return statements](http://www.homeandlearn.co.uk/java/java_methods.html)
13 13
     * [String operations](https://www.tutorialspoint.com/java/java_strings.htm)
14
-    
14
+
15 15
 ### **Classes to be completed:**
16 16
 * `MathUtilities`
17 17
 * `PredicateUtilities`
18 18
 * `StringUtilities`
19
-	
19
+
20 20
 ### **Instructions:**
21 21
 
22 22
 1. Fork this Repository
23
-    * [fork](https://help.github.com/articles/fork-a-repo/) this repository to your personal github account 
23
+    * [fork](https://help.github.com/articles/fork-a-repo/) this repository to your personal github account
24 24
     * [clone](https://help.github.com/articles/cloning-a-repository/) **your** `forked` repository to your local machine.
25 25
     * Complete steps 2 and 3  
26 26
     * `git add` your changes to the list of your `commited` files.
@@ -36,7 +36,7 @@
36 36
 
37 37
 ## Predicate Utilities
38 38
 * A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
39
-* Ensure each of the test cases passes successfully in the class [TestPredicateUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestPredicateUtilities.java) by completing each of the method stubs in the class [PredicateUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/PredicateUtilities.java).
39
+* Ensure each of the test cases passes successfully in the class [PredicateUtilitiesTest](./PredicateUtilitiesTest.java) by completing each of the method stubs in the class [PredicateUtilities](./PredicateUtilities.java).
40 40
 * Method Stubs to be completed
41 41
 	* `boolean isGreaterThan(int x, int y)`
42 42
 	* `boolean isLessThan(int x, int y)`
@@ -45,8 +45,8 @@
45 45
 
46 46
 
47 47
 ## Math Utilities
48
-* Ensure each of the test cases passes successfully in the class [TestMathUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestMathUtilities.java) by completing each of the method stubs in the class [MathUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/MathUtilities.java).
49
-* Method Stubs to be completed	
48
+* Ensure each of the test cases passes successfully in the class [MathUtilitiesTest](./MathUtilitiesTest.java) by completing each of the method stubs in the class [MathUtilities](./MathUtilities.java).
49
+* Method Stubs to be completed
50 50
 	* `Integer add(int, int)`
51 51
 	* `Long add(long, long)`
52 52
 	* `Short add(short, short)`
@@ -76,7 +76,7 @@
76 76
 
77 77
 
78 78
 ## String Utilities
79
-* Ensure each of the test cases passes successfully in the class [TestStringUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestStringUtilities.java) by completing each of the method stubs in the class [StringUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java).
79
+* Ensure each of the test cases passes successfully in the class [StringUtilitiesTest](./StringUtilitiesTest.java) by completing each of the method stubs in the class [StringUtilities](./StringUtilities.java).
80 80
 * Method Stubs to be completed
81 81
 	* `String concatenation(String, String)`
82 82
 	* `String concatenation(int, String)`
@@ -87,7 +87,3 @@
87 87
 	* `String getFirstWord(String)`
88 88
 	* `String getSecondWord(String)`
89 89
 	* `String reverse(String)`
90
-	
91
-	
92
-## Whats next?
93
-* The next lab can be found [here](https://github.com/Zipcoder/ZCW-MicroLabs-OOP-AliceAndBob).

BIN
StringUtilities.class View File


+ 34
- 0
StringUtilities.ctxt View File

@@ -0,0 +1,34 @@
1
+#BlueJ class context
2
+comment0.target=StringUtilities
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=
5
+comment1.target=java.lang.String\ getHelloWorld()
6
+comment1.text=\n\ @return\ `Hello\ World`\ as\ a\ string\n
7
+comment10.params=stringToReverse
8
+comment10.target=java.lang.String\ reverse(java.lang.String)
9
+comment10.text=\n\ @param\ stringToReverse\n\ @return\ an\ identical\ string\ with\ characters\ in\ reverse\ order.\n
10
+comment2.params=firstSegment\ secondSegment
11
+comment2.target=java.lang.String\ concatenation(java.lang.String,\ java.lang.String)
12
+comment2.text=\n\ @param\ firstSegment\ a\ string\ to\ be\ added\ to\n\ @param\ secondSegment\ a\ string\ to\ add\n\ @return\ the\ concatenation\ of\ two\ strings,\ `firstSegment`,\ and\ `secondSegment`\n
13
+comment3.params=firstSegment\ secondSegment
14
+comment3.target=java.lang.String\ concatenation(int,\ java.lang.String)
15
+comment3.text=\n\ @param\ firstSegment\ a\ string\ to\ be\ added\ to\n\ @param\ secondSegment\ a\ string\ to\ add\n\ @return\ the\ concatenation\ of\ an\ integer,\ `firstSegment`,\ and\ a\ String,\ `secondSegment`\n
16
+comment4.params=input
17
+comment4.target=java.lang.String\ getPrefix(java.lang.String)
18
+comment4.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ first\ 3\ characters\ of\ `input`\n
19
+comment5.params=input
20
+comment5.target=java.lang.String\ getSuffix(java.lang.String)
21
+comment5.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ last\ 3\ characters\ of\ `input`\n
22
+comment6.params=inputValue\ comparableValue
23
+comment6.target=java.lang.Boolean\ compareTwoStrings(java.lang.String,\ java.lang.String)
24
+comment6.text=\n\ @param\ inputValue\ the\ value\ to\ be\ compared\n\ @param\ comparableValue\ the\ value\ to\ be\ compared\ against\n\ @return\ the\ equivalence\ of\ two\ strings,\ `inputValue`\ and\ `comparableValue`\n
25
+comment7.params=inputValue
26
+comment7.target=java.lang.Character\ getMiddleCharacter(java.lang.String)
27
+comment7.text=\n\ @param\ inputValue\ the\ value\ input\ from\ user\n\ @return\ the\ middle\ character\ of\ `inputValue`\n
28
+comment8.params=spaceDelimitedString
29
+comment8.target=java.lang.String\ getFirstWord(java.lang.String)
30
+comment8.text=\n\ @param\ spaceDelimitedString\ a\ string,\ representative\ of\ a\ sentence,\ containing\ spaces\n\ @return\ the\ first\ sequence\ of\ characters\n
31
+comment9.params=spaceDelimitedString
32
+comment9.target=java.lang.String\ getSecondWord(java.lang.String)
33
+comment9.text=\n\ @param\ spaceDelimitedString\ a\ string\ delimited\ by\ spaces\n\ @return\ the\ second\ word\ of\ a\ string\ delimited\ by\ spaces.\n
34
+numComments=11

src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java → StringUtilities.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 /**
4 4
  * Created by dan on 6/14/17.

BIN
StringUtilitiesTest.class View File


+ 28
- 0
StringUtilitiesTest.ctxt View File

@@ -0,0 +1,28 @@
1
+#BlueJ class context
2
+comment0.target=StringUtilitiesTest
3
+comment0.text=\n\ Created\ by\ dan\ on\ 6/14/17.\n
4
+comment1.params=
5
+comment1.target=void\ getHelloWorldTest()
6
+comment10.params=
7
+comment10.target=void\ getTheFirstWord()
8
+comment11.params=
9
+comment11.target=void\ getTheSecondWord()
10
+comment12.params=
11
+comment12.target=void\ reverseThem()
12
+comment2.params=
13
+comment2.target=void\ concatenationStringTest()
14
+comment3.params=
15
+comment3.target=void\ concatenationStringAndIntegerTest()
16
+comment4.params=
17
+comment4.target=void\ substringBeginTest()
18
+comment5.params=
19
+comment5.target=void\ substringEndTest()
20
+comment6.params=
21
+comment6.target=void\ compareToTestEquals()
22
+comment7.params=
23
+comment7.target=void\ compareToTestNotEquals()
24
+comment8.params=
25
+comment8.target=void\ getTheMiddleChar1()
26
+comment9.params=
27
+comment9.target=void\ getTheMiddleChar2()
28
+numComments=13

src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestStringUtilities.java → StringUtilitiesTest.java View File

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
1
+ 
2 2
 
3 3
 import org.junit.Assert;
4 4
 import org.junit.Test;
@@ -7,7 +7,7 @@ import static org.junit.Assert.*;
7 7
 /**
8 8
  * Created by dan on 6/14/17.
9 9
  */
10
-public class TestStringUtilities {
10
+public class StringUtilitiesTest {
11 11
     @Test
12 12
     public void getHelloWorldTest() {
13 13
         // : Given

+ 90
- 0
package.bluej View File

@@ -0,0 +1,90 @@
1
+#BlueJ package file
2
+dependency1.from=TestPredicateUtilities
3
+dependency1.to=PredicateUtilities
4
+dependency1.type=UsesDependency
5
+dependency2.from=TestSuite
6
+dependency2.to=TestPredicateUtilities
7
+dependency2.type=UsesDependency
8
+dependency3.from=TestSuite
9
+dependency3.to=TestMathUtilities
10
+dependency3.type=UsesDependency
11
+editor.fx.0.height=0
12
+editor.fx.0.width=0
13
+editor.fx.0.x=0
14
+editor.fx.0.y=0
15
+objectbench.height=101
16
+objectbench.width=1171
17
+package.divider.horizontal=0.6
18
+package.divider.vertical=0.8007380073800738
19
+package.editor.height=427
20
+package.editor.width=1069
21
+package.editor.x=59
22
+package.editor.y=63
23
+package.frame.height=600
24
+package.frame.width=1195
25
+package.numDependencies=3
26
+package.numTargets=8
27
+package.showExtends=true
28
+package.showUses=true
29
+project.charset=UTF-8
30
+readme.height=58
31
+readme.name=@README
32
+readme.width=47
33
+readme.x=10
34
+readme.y=10
35
+target1.height=50
36
+target1.name=PredicateUtilities
37
+target1.showInterface=false
38
+target1.type=ClassTarget
39
+target1.width=130
40
+target1.x=240
41
+target1.y=50
42
+target2.height=50
43
+target2.name=TestPredicateUtilities
44
+target2.showInterface=false
45
+target2.type=ClassTarget
46
+target2.width=160
47
+target2.x=10
48
+target2.y=120
49
+target3.height=50
50
+target3.name=TestMathUtilities
51
+target3.showInterface=false
52
+target3.type=ClassTarget
53
+target3.width=130
54
+target3.x=10
55
+target3.y=180
56
+target4.height=50
57
+target4.name=TestSuite
58
+target4.showInterface=false
59
+target4.type=ClassTarget
60
+target4.width=80
61
+target4.x=590
62
+target4.y=150
63
+target5.height=50
64
+target5.name=TestStringUtilities
65
+target5.showInterface=false
66
+target5.type=ClassTarget
67
+target5.width=140
68
+target5.x=390
69
+target5.y=260
70
+target6.height=50
71
+target6.name=MathUtilities
72
+target6.showInterface=false
73
+target6.type=ClassTarget
74
+target6.width=100
75
+target6.x=10
76
+target6.y=240
77
+target7.height=50
78
+target7.name=StringUtilities
79
+target7.showInterface=false
80
+target7.type=ClassTarget
81
+target7.width=110
82
+target7.x=120
83
+target7.y=240
84
+target8.height=50
85
+target8.name=ZipcodeRocks
86
+target8.showInterface=false
87
+target8.type=ClassTarget
88
+target8.width=110
89
+target8.x=10
90
+target8.y=300

+ 0
- 35
pom.xml View File

@@ -1,35 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project xmlns="http://maven.apache.org/POM/4.0.0"
3
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
-    <modelVersion>4.0.0</modelVersion>
6
-
7
-    <groupId>zipcoder.io</groupId>
8
-    <artifactId>ChapterOneMicro</artifactId>
9
-    <version>1.0-SNAPSHOT</version>
10
-
11
-    <dependencies>
12
-        <dependency>
13
-            <groupId>junit</groupId>
14
-            <artifactId>junit</artifactId>
15
-            <version>4.12</version>
16
-            <scope>test</scope>
17
-        </dependency>
18
-    </dependencies>
19
-
20
-    <build>
21
-        <plugins>
22
-            <plugin>
23
-                <groupId>org.apache.maven.plugins</groupId>
24
-                <artifactId>maven-compiler-plugin</artifactId>
25
-                <version>3.6.0</version>
26
-                <configuration>
27
-                    <source>1.8</source>
28
-                    <target>1.8</target>
29
-                </configuration>
30
-            </plugin>
31
-        </plugins>
32
-    </build>
33
-
34
-
35
-</project>

+ 0
- 10
src/main/java/com/zipcodewilmington/danny_do_better_exercises/ZipcodeRocks.java View File

@@ -1,10 +0,0 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
2
-
3
-/**
4
- * Created by leon on 2/5/18.
5
- */
6
-public class ZipcodeRocks {
7
-    public static void main(String[] args) {
8
-//         System.out.println("Zipcode Rocks!");
9
-    }
10
-}

+ 0
- 17
src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestSuite.java View File

@@ -1,17 +0,0 @@
1
-package com.zipcodewilmington.danny_do_better_exercises;
2
-
3
-import org.junit.runner.RunWith;
4
-import org.junit.runners.Suite;
5
-
6
-/**
7
- * Created by leon on 2/5/18.
8
- */
9
-@RunWith(Suite.class)
10
-
11
-@Suite.SuiteClasses({
12
-        TestPredicateUtilities.class,
13
-        TestMathUtilities.class,
14
-        TestStringUtilities.class,
15
-})
16
-public class TestSuite {
17
-}