#37 KrisBlassingame

Abierta
KrisBlassingame desea fusionar 1 commits de KrisBlassingame/CR-Calcul8r:master en master

BIN
Operations.class Ver fichero


+ 14
- 0
Operations.ctxt Ver fichero

@@ -0,0 +1,14 @@
1
+#BlueJ class context
2
+comment0.target=Operations
3
+comment1.params=x\ y
4
+comment1.target=int\ add(int,\ int)
5
+comment1.text=\n\ The\ addition\ function.\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ the\ sum\ of\ x\ and\ y\n
6
+comment2.params=x\ y
7
+comment2.target=int\ subtract(int,\ int)
8
+comment2.text=\n\ The\ subtraction\ function\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ y\ taken\ from\ x\n
9
+comment3.params=x\ y
10
+comment3.target=int\ multiply(int,\ int)
11
+comment3.text=\n\ The\ multiplication\ function\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ x\ times\ y\n
12
+comment4.params=x\ y
13
+comment4.target=int\ divide(int,\ int)
14
+numComments=5

+ 5
- 1
Operations.java Ver fichero

@@ -19,7 +19,6 @@ public class Operations {
19 19
     public static int subtract(int x, int y) {
20 20
         return x - y;
21 21
     }
22
-    
23 22
 
24 23
     /**
25 24
      * The multiplication function
@@ -30,4 +29,9 @@ public class Operations {
30 29
     public static int multiply(int x, int y) {
31 30
         return x * y;
32 31
     }
32
+
33
+    public static int divide(int x, int y) {
34
+        return x / y;
35
+
36
+    }
33 37
 }

BIN
OperationsTest.class Ver fichero


+ 11
- 0
OperationsTest.ctxt Ver fichero

@@ -0,0 +1,11 @@
1
+#BlueJ class context
2
+comment0.target=OperationsTest
3
+comment1.params=
4
+comment1.target=void\ testAdd()
5
+comment2.params=
6
+comment2.target=void\ testSubtract()
7
+comment3.params=
8
+comment3.target=void\ testMultiply()
9
+comment4.params=
10
+comment4.target=void\ testDivide()
11
+numComments=5

+ 5
- 0
OperationsTest.java Ver fichero

@@ -16,4 +16,9 @@ public class OperationsTest {
16 16
     public void testMultiply() throws Exception {
17 17
         Assert.assertEquals(4, Operations.multiply(2, 2));
18 18
     }
19
+    
20
+    @Test
21
+    public void testDivide() throws Exception {
22
+        Assert.assertEquals(1, Operations.divide(2, 2));
23
+    }
19 24
 }

+ 2
- 2
package.bluej Ver fichero

@@ -12,8 +12,8 @@ package.divider.horizontal=0.6
12 12
 package.divider.vertical=0.6845018450184502
13 13
 package.editor.height=364
14 14
 package.editor.width=674
15
-package.editor.x=-1455
16
-package.editor.y=82
15
+package.editor.x=100
16
+package.editor.y=100
17 17
 package.frame.height=600
18 18
 package.frame.width=800
19 19
 package.numDependencies=1

+ 51
- 0
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" Ver fichero

@@ -0,0 +1,51 @@
1
+-----BEGIN RSA PRIVATE KEY-----
2
+MIIJKgIBAAKCAgEAsgLpGM1EtDtvvbc18I/avF64MPwiVhsS+I0ycmRwAOG+97M4
3
+b6ZB6unfUvOYAfRIW+LCue77GApn0r6rS76DZT/P10yIByiOv8IBo4oiMuuQl7KS
4
+eQCx3jTMc5M4BQ/oBM3zB7wBdAXEkiyAAigdN803dJAVQqn4MDs0Uf/Z4VAbaJaF
5
+1FMXNRy2pVZ9QzVZSstN5YpaXveK2m9lU2oxfFms5rJc8TfZSc3siR3iKa41mkXC
6
+ld09fWo6hHBEKAQPLTTauXVYR7ryUljwNS83SIq3FOhtny7ec4FkDg5MzuOt3xxG
7
+uCFvZmuN0w9Ph69RcYgXgD/vkZkZfIe/Z/EQXTjtwCv6vLc7cB4xWieuTUFDzqgM
8
+h+Rf3gLzU9cn4Z/RV1q4MlFloVyy3rph56f22KsYIHu5R6EcJr2PcPenBdUzbKqC
9
+ZE/3lEIdHFENcHQ37v0FTOgSFL0+2MzFt9/DpR1gXVf2asqOeO2O+iPnDN2ZKV78
10
+cHhEoxVID5WQ4SFLjURPVD2s/OoElZOBlmeOxdmC183Ohi2TTmR/GEs59sgvGoZI
11
+vIw5BNOo9Y11bRQ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