From c2ecad387577d30bbe7097d449c907287f2d4bc5 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:38:04 +0300 Subject: [PATCH 01/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 13 +++++++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 0 .besouro/2016092915355121/disagreements.txt | 0 .../2016092915355121/randomHeuristicEpisodes.txt | 0 .besouro/2016092915355121/userComments.txt | 0 .besouro/2016092915355121/zorroEpisodes.txt | 0 tests/TestRomanNumerals.java | 11 +++++++++-- 7 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .besouro/2016092915355121/actions.txt create mode 100644 .besouro/2016092915355121/besouroEpisodes.txt create mode 100644 .besouro/2016092915355121/disagreements.txt create mode 100644 .besouro/2016092915355121/randomHeuristicEpisodes.txt create mode 100644 .besouro/2016092915355121/userComments.txt create mode 100644 .besouro/2016092915355121/zorroEpisodes.txt diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt new file mode 100644 index 0000000..3f4bc50 --- /dev/null +++ b/.besouro/2016092915355121/actions.txt @@ -0,0 +1,13 @@ +FileOpenedAction 1475152551255 RomanNumerals.java 121 1 1 0 +RefactoringAction 1475152571326 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475152573346 TestRomanNumerals.java RENAME test=>void test_ FIELD +RefactoringAction 1475152585865 TestRomanNumerals.java RENAME test_=>void test_new FIELD +RefactoringAction 1475152588886 TestRomanNumerals.java RENAME test_new=>void test_newNumber FIELD +RefactoringAction 1475152591905 TestRomanNumerals.java RENAME test_newNumber=>void test_newNumber_ FIELD +RefactoringAction 1475152595926 TestRomanNumerals.java RENAME test_newNumber_=>void test_ FIELD +RefactoringAction 1475152597444 TestRomanNumerals.java RENAME test_=>void test_New FIELD +RefactoringAction 1475152599966 TestRomanNumerals.java RENAME test_New=>void test_NewRomqn FIELD +RefactoringAction 1475152601487 TestRomanNumerals.java RENAME test_NewRomqn=>void test_NewRomam FIELD +RefactoringAction 1475152603508 TestRomanNumerals.java RENAME test_NewRomam=>void test_NewRomamNumber FIELD +RefactoringAction 1475152605527 TestRomanNumerals.java RENAME test_NewRomamNumber=>void test_NewRomamNumber() METHOD +EditAction 1475152684724 TestRomanNumerals.java 292 2 3 1 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/2016092915355121/disagreements.txt b/.besouro/2016092915355121/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/2016092915355121/userComments.txt b/.besouro/2016092915355121/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 5d1de75..5d92159 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -3,10 +3,17 @@ import org.junit.Test; public class TestRomanNumerals { - + + + @Test public void test() { fail("Not yet implemented"); } - + + @Test + public void test_NewRomamNumber(){ + RomanNumerals RomanNumber = new RomanNumerals(); + assertNotNull(RomanNumber); + } } From b3de747cc1e89fa738c2003f0fbc5c5aa9d513d7 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:43:01 +0300 Subject: [PATCH 02/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 16 ++++++++++++++++ src/RomanNumerals.java | 2 ++ 2 files changed, 18 insertions(+) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 3f4bc50..5365a2e 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -11,3 +11,19 @@ RefactoringAction 1475152601487 TestRomanNumerals.java RENAME test_NewRomqn=>voi RefactoringAction 1475152603508 TestRomanNumerals.java RENAME test_NewRomam=>void test_NewRomamNumber FIELD RefactoringAction 1475152605527 TestRomanNumerals.java RENAME test_NewRomamNumber=>void test_NewRomamNumber() METHOD EditAction 1475152684724 TestRomanNumerals.java 292 2 3 1 +UnitTestCaseAction 1475152685278 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475152685279 TestRomanNumerals.java FAIL +RefactoringAction 1475152691065 TestRomanNumerals.java REMOVE test() METHOD +RefactoringAction 1475152720142 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475152721158 TestRomanNumerals.java RENAME test=>void test_ FIELD +RefactoringAction 1475152729176 TestRomanNumerals.java RENAME test_=>void test_Convert FIELD +RefactoringAction 1475152733714 TestRomanNumerals.java RENAME test_Convert=>void test_Convert1 FIELD +RefactoringAction 1475152740729 TestRomanNumerals.java RENAME test_Convert1=>void test_Convert FIELD +RefactoringAction 1475152742745 TestRomanNumerals.java RENAME test_Convert=>void test_Convert1digit FIELD +RefactoringAction 1475152744261 TestRomanNumerals.java RENAME test_Convert1digit=>void test_Convert1digit() METHOD +RefactoringAction 1475152760884 TestRomanNumerals.java ADD RomanNumerals RomanNumber FIELD +RefactoringAction 1475152846229 TestRomanNumerals.java REMOVE RomanNumber FIELD +RefactoringAction 1475152881848 TestRomanNumerals.java RENAME test_NewRomamNumber()=>void test_NewRomamNumerals() METHOD +RefactoringAction 1475152907887 TestRomanNumerals.java ADD RomanNumerals RomanNumerals FIELD +RefactoringAction 1475152962627 RomanNumerals.java ADD String RomanNumber FIELD +EditAction 1475152981621 RomanNumerals.java 150 1 1 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 20904f0..e76959f 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,5 +1,7 @@ public class RomanNumerals { + public String RomanNumber; + public int convertToInteger(String romanNum) { // To be Implemented return 0; From c49c880b8c047231c10f67d29b819bab2cd2d69a Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:43:01 +0300 Subject: [PATCH 03/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 1 + tests/TestRomanNumerals.java | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 5365a2e..8d6e120 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -27,3 +27,4 @@ RefactoringAction 1475152881848 TestRomanNumerals.java RENAME test_NewRomamNumbe RefactoringAction 1475152907887 TestRomanNumerals.java ADD RomanNumerals RomanNumerals FIELD RefactoringAction 1475152962627 RomanNumerals.java ADD String RomanNumber FIELD EditAction 1475152981621 RomanNumerals.java 150 1 1 0 +EditAction 1475152981712 TestRomanNumerals.java 364 2 3 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 5d92159..d339e4a 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -4,16 +4,18 @@ public class TestRomanNumerals { + RomanNumerals RomanNumerals = new RomanNumerals(); @Test - public void test() { - fail("Not yet implemented"); + public void test_NewRomamNumerals(){ + assertNotNull(RomanNumerals); } @Test - public void test_NewRomamNumber(){ - RomanNumerals RomanNumber = new RomanNumerals(); - assertNotNull(RomanNumber); + public void test_Convert1digit(){ + RomanNumerals.RomanNumber="I"; + assertEquals("","I",RomanNumerals.RomanNumber); } + } From 1e7111612c9880329ddb60b1e8d25b6e9d7225d3 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:45:10 +0300 Subject: [PATCH 04/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 17 +++++++++++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 1 + .../randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + src/RomanNumerals.java | 1 + 5 files changed, 21 insertions(+) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 8d6e120..bbc6fab 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -28,3 +28,20 @@ RefactoringAction 1475152907887 TestRomanNumerals.java ADD RomanNumerals RomanNu RefactoringAction 1475152962627 RomanNumerals.java ADD String RomanNumber FIELD EditAction 1475152981621 RomanNumerals.java 150 1 1 0 EditAction 1475152981712 TestRomanNumerals.java 364 2 3 2 +UnitTestCaseAction 1475152982000 TestRomanNumerals.java OK +UnitTestSessionAction 1475152982001 TestRomanNumerals.java OK +RefactoringAction 1475152996660 TestRomanNumerals.java RENAME test_Convert1digit()=>void test_Assign1digit() METHOD +RefactoringAction 1475152998175 TestRomanNumerals.java RENAME test_Assign1digit()=>void test_Assigndigit() METHOD +RefactoringAction 1475153003689 TestRomanNumerals.java RENAME test_Assigndigit()=>void test_AssignDigit() METHOD +RefactoringAction 1475153013248 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475153015262 TestRomanNumerals.java RENAME test=>void test_ FIELD +RefactoringAction 1475153019276 TestRomanNumerals.java RENAME test_=>void test_Convert FIELD +RefactoringAction 1475153022289 TestRomanNumerals.java RENAME test_Convert=>void test_Convert1 FIELD +RefactoringAction 1475153024320 TestRomanNumerals.java RENAME test_Convert1=>void test_Convert1Digit FIELD +RefactoringAction 1475153026833 TestRomanNumerals.java RENAME test_Convert1Digit=>void test_Convert1Digit() METHOD +RefactoringAction 1475153086196 RomanNumerals.java ADD Object ArabicNumber FIELD +RefactoringAction 1475153095096 RomanNumerals.java REMOVE ArabicNumber FIELD +RefactoringAction 1475153096609 RomanNumerals.java ADD int A FIELD +RefactoringAction 1475153098628 RomanNumerals.java RENAME A=>int Arabic FIELD +RefactoringAction 1475153100641 RomanNumerals.java RENAME Arabic=>int ArabicNumber FIELD +EditAction 1475153110455 RomanNumerals.java 176 1 1 0 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index e69de29..83506fd 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -0,0 +1 @@ +1475152982001 test-last 1 430 false diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index e69de29..83506fd 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -0,0 +1 @@ +1475152982001 test-last 1 430 false diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index e69de29..83506fd 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -0,0 +1 @@ +1475152982001 test-last 1 430 false diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index e76959f..8b8fcd7 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,5 +1,6 @@ public class RomanNumerals { + public int ArabicNumber; public String RomanNumber; public int convertToInteger(String romanNum) { From a607dcefeb1c9f3f0b130683e7544687850df74b Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:45:10 +0300 Subject: [PATCH 05/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 1 + tests/TestRomanNumerals.java | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index bbc6fab..6f88d84 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -45,3 +45,4 @@ RefactoringAction 1475153096609 RomanNumerals.java ADD int A FIELD RefactoringAction 1475153098628 RomanNumerals.java RENAME A=>int Arabic FIELD RefactoringAction 1475153100641 RomanNumerals.java RENAME Arabic=>int ArabicNumber FIELD EditAction 1475153110455 RomanNumerals.java 176 1 1 0 +EditAction 1475153110578 TestRomanNumerals.java 491 3 5 3 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index d339e4a..875c9b0 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -13,9 +13,15 @@ public void test_NewRomamNumerals(){ } @Test - public void test_Convert1digit(){ + public void test_AssignDigit(){ RomanNumerals.RomanNumber="I"; assertEquals("","I",RomanNumerals.RomanNumber); } + @Test + public void test_Convert1Digit(){ + RomanNumerals.RomanNumber="I"; + assertEquals("",1,RomanNumerals.ArabicNumber); + } + } From 4279b8002df6467aecd395da6916aa37be9bc4c9 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:47:02 +0300 Subject: [PATCH 06/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 6f88d84..765d191 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -46,3 +46,6 @@ RefactoringAction 1475153098628 RomanNumerals.java RENAME A=>int Arabic FIELD RefactoringAction 1475153100641 RomanNumerals.java RENAME Arabic=>int ArabicNumber FIELD EditAction 1475153110455 RomanNumerals.java 176 1 1 0 EditAction 1475153110578 TestRomanNumerals.java 491 3 5 3 +UnitTestCaseAction 1475153110890 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475153110890 TestRomanNumerals.java FAIL +EditAction 1475153222898 RomanNumerals.java 216 1 2 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 8b8fcd7..ce79086 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,11 +1,13 @@ public class RomanNumerals { - public int ArabicNumber; + public int ArabicNumber = 0; public String RomanNumber; public int convertToInteger(String romanNum) { - // To be Implemented - return 0; + if (RomanNumber=="I"){ + ArabicNumber++; + } + return ArabicNumber; } } From 097d82bdfe9b1439aa056f943c30f214725a85e3 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:47:03 +0300 Subject: [PATCH 07/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 1 + tests/TestRomanNumerals.java | 1 + 2 files changed, 2 insertions(+) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 765d191..77a28dd 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -49,3 +49,4 @@ EditAction 1475153110578 TestRomanNumerals.java 491 3 5 3 UnitTestCaseAction 1475153110890 TestRomanNumerals.java FAIL UnitTestSessionAction 1475153110890 TestRomanNumerals.java FAIL EditAction 1475153222898 RomanNumerals.java 216 1 2 0 +EditAction 1475153222994 TestRomanNumerals.java 552 3 6 3 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 875c9b0..e75dde3 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -21,6 +21,7 @@ public void test_AssignDigit(){ @Test public void test_Convert1Digit(){ RomanNumerals.RomanNumber="I"; + RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEquals("",1,RomanNumerals.ArabicNumber); } From 85da47fe3d364c81c5069d722c4697e7c33cca6d Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 15:50:52 +0300 Subject: [PATCH 08/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 14 ++++++++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 2 ++ .../2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 9 ++++++++- 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 77a28dd..32d7836 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -50,3 +50,17 @@ UnitTestCaseAction 1475153110890 TestRomanNumerals.java FAIL UnitTestSessionAction 1475153110890 TestRomanNumerals.java FAIL EditAction 1475153222898 RomanNumerals.java 216 1 2 0 EditAction 1475153222994 TestRomanNumerals.java 552 3 6 3 +UnitTestCaseAction 1475153223274 TestRomanNumerals.java OK +UnitTestSessionAction 1475153223274 TestRomanNumerals.java OK +RefactoringAction 1475153234379 TestRomanNumerals.java RENAME test_Convert1Digit()=>void test_Convert1() METHOD +RefactoringAction 1475153342458 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475153343473 TestRomanNumerals.java RENAME test=>void test_ FIELD +RefactoringAction 1475153345988 TestRomanNumerals.java RENAME test_=>void test_Convert FIELD +RefactoringAction 1475153347022 TestRomanNumerals.java RENAME test_Convert=>void test_Convertn FIELD +RefactoringAction 1475153348037 TestRomanNumerals.java RENAME test_Convertn=>void test_Convert FIELD +RefactoringAction 1475153349052 TestRomanNumerals.java RENAME test_Convert=>void test_ConvertN FIELD +RefactoringAction 1475153352066 TestRomanNumerals.java RENAME test_ConvertN=>void test_Convert FIELD +RefactoringAction 1475153353580 TestRomanNumerals.java RENAME test_Convert=>void test_Convert_N FIELD +RefactoringAction 1475153356094 TestRomanNumerals.java RENAME test_Convert_N=>void test_Convert_N_Digit FIELD +RefactoringAction 1475153357109 TestRomanNumerals.java RENAME test_Convert_N_Digit=>void test_Convert_N_Digit() METHOD +EditAction 1475153452183 TestRomanNumerals.java 750 4 9 4 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 83506fd..5cc56c6 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -1 +1,3 @@ 1475152982001 test-last 1 430 false +1475153223274 test-first 3 226 true +1475153223275 test-last 1 226 false diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 83506fd..a3ff5bd 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -1 +1,2 @@ 1475152982001 test-last 1 430 false +1475153223274 test-first 3 226 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 83506fd..9489fed 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -1 +1,2 @@ 1475152982001 test-last 1 430 false +1475153223274 test-first 3 241 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index e75dde3..7bfe6b2 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -19,10 +19,17 @@ public void test_AssignDigit(){ } @Test - public void test_Convert1Digit(){ + public void test_Convert1(){ RomanNumerals.RomanNumber="I"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEquals("",1,RomanNumerals.ArabicNumber); } + @Test + public void test_Convert_N_Digit(){ + RomanNumerals.RomanNumber="MCMLXXXIV"; + RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); + assertEquals("",1984,RomanNumerals.ArabicNumber); + } + } From 8a13c2812c5f8a7c0c9ed268ddc0aef4a242fd18 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:01:42 +0300 Subject: [PATCH 09/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 5 +++++ src/RomanNumerals.java | 26 ++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 32d7836..2765920 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -64,3 +64,8 @@ RefactoringAction 1475153353580 TestRomanNumerals.java RENAME test_Convert=>void RefactoringAction 1475153356094 TestRomanNumerals.java RENAME test_Convert_N=>void test_Convert_N_Digit FIELD RefactoringAction 1475153357109 TestRomanNumerals.java RENAME test_Convert_N_Digit=>void test_Convert_N_Digit() METHOD EditAction 1475153452183 TestRomanNumerals.java 750 4 9 4 +UnitTestCaseAction 1475153452478 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475153452479 TestRomanNumerals.java FAIL +RefactoringAction 1475153569525 TestRomanNumerals.java REMOVE test_Convert_N_Digit() METHOD +FileOpenedAction 1475153876572 SudokuVerifier.java 2918 5 49 0 +EditAction 1475154102359 RomanNumerals.java 730 1 4 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index ce79086..40fdbfc 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -4,8 +4,30 @@ public class RomanNumerals { public String RomanNumber; public int convertToInteger(String romanNum) { - if (RomanNumber=="I"){ - ArabicNumber++; + String[] RomanNumber = romanNum.split(""); + int i=0; + for(i=0;i Date: Thu, 29 Sep 2016 16:01:42 +0300 Subject: [PATCH 10/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 1 + tests/TestRomanNumerals.java | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 2765920..b4fc0ca 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -69,3 +69,4 @@ UnitTestSessionAction 1475153452479 TestRomanNumerals.java FAIL RefactoringAction 1475153569525 TestRomanNumerals.java REMOVE test_Convert_N_Digit() METHOD FileOpenedAction 1475153876572 SudokuVerifier.java 2918 5 49 0 EditAction 1475154102359 RomanNumerals.java 730 1 4 0 +EditAction 1475154102464 TestRomanNumerals.java 552 3 6 3 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 7bfe6b2..188c741 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -25,11 +25,7 @@ public void test_Convert1(){ assertEquals("",1,RomanNumerals.ArabicNumber); } - @Test - public void test_Convert_N_Digit(){ - RomanNumerals.RomanNumber="MCMLXXXIV"; - RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1984,RomanNumerals.ArabicNumber); - } + + } From a4d1c21516debc844a0fc2b22092c6fdc8c200e4 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:03:24 +0300 Subject: [PATCH 11/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 8 ++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 1 + .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 6 ++++++ 5 files changed, 17 insertions(+) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index b4fc0ca..753016d 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -70,3 +70,11 @@ RefactoringAction 1475153569525 TestRomanNumerals.java REMOVE test_Convert_N_Dig FileOpenedAction 1475153876572 SudokuVerifier.java 2918 5 49 0 EditAction 1475154102359 RomanNumerals.java 730 1 4 0 EditAction 1475154102464 TestRomanNumerals.java 552 3 6 3 +UnitTestCaseAction 1475154103436 TestRomanNumerals.java OK +UnitTestSessionAction 1475154103437 TestRomanNumerals.java OK +RefactoringAction 1475154119146 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475154121159 TestRomanNumerals.java RENAME test=>void test_ FIELD +RefactoringAction 1475154123171 TestRomanNumerals.java RENAME test_=>void test_Convert FIELD +RefactoringAction 1475154125183 TestRomanNumerals.java RENAME test_Convert=>void test_Convert_ FIELD +RefactoringAction 1475154128696 TestRomanNumerals.java RENAME test_Convert_=>void test_Convert_1100() METHOD +EditAction 1475154204797 TestRomanNumerals.java 743 4 9 4 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 5cc56c6..4b6fee0 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -1,3 +1,4 @@ 1475152982001 test-last 1 430 false 1475153223274 test-first 3 226 true 1475153223275 test-last 1 226 false +1475154103437 test-first 3 869 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index a3ff5bd..4304cbe 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -1,2 +1,3 @@ 1475152982001 test-last 1 430 false 1475153223274 test-first 3 226 true +1475154103437 test-first 3 869 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 9489fed..21fec95 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -1,2 +1,3 @@ 1475152982001 test-last 1 430 false 1475153223274 test-first 3 241 true +1475154103437 test-first 3 880 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 188c741..ec38d88 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -24,6 +24,12 @@ public void test_Convert1(){ RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEquals("",1,RomanNumerals.ArabicNumber); } + @Test + public void test_Convert_1100(){ + RomanNumerals.RomanNumber="MC"; + RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); + assertEquals("",1100,RomanNumerals.RomanNumber); + } From 99719e2b190d1752f6ced9b66603c784922a5c37 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:03:38 +0300 Subject: [PATCH 12/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 753016d..b623a4d 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -78,3 +78,6 @@ RefactoringAction 1475154123171 TestRomanNumerals.java RENAME test_=>void test_C RefactoringAction 1475154125183 TestRomanNumerals.java RENAME test_Convert=>void test_Convert_ FIELD RefactoringAction 1475154128696 TestRomanNumerals.java RENAME test_Convert_=>void test_Convert_1100() METHOD EditAction 1475154204797 TestRomanNumerals.java 743 4 9 4 +UnitTestCaseAction 1475154205087 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154205087 TestRomanNumerals.java FAIL +EditAction 1475154218598 TestRomanNumerals.java 744 4 9 4 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index ec38d88..c681e97 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -28,7 +28,7 @@ public void test_Convert1(){ public void test_Convert_1100(){ RomanNumerals.RomanNumber="MC"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1100,RomanNumerals.RomanNumber); + assertEquals("",1100,RomanNumerals.ArabicNumber); } From b868110b4c929755948869637f0a6f5badcc2c3e Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:04:26 +0300 Subject: [PATCH 13/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ tests/TestRomanNumerals.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index b623a4d..db5006d 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -81,3 +81,6 @@ EditAction 1475154204797 TestRomanNumerals.java 743 4 9 4 UnitTestCaseAction 1475154205087 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154205087 TestRomanNumerals.java FAIL EditAction 1475154218598 TestRomanNumerals.java 744 4 9 4 +UnitTestCaseAction 1475154218906 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154218907 TestRomanNumerals.java FAIL +EditAction 1475154266419 TestRomanNumerals.java 743 4 9 4 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index c681e97..27f8eb2 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -26,9 +26,9 @@ public void test_Convert1(){ } @Test public void test_Convert_1100(){ - RomanNumerals.RomanNumber="MC"; + RomanNumerals.RomanNumber="M"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1100,RomanNumerals.ArabicNumber); + assertEquals("",1000,RomanNumerals.ArabicNumber); } From cc1dc7bb7ddbd3f95e69a795670332c6e9a1839d Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:04:35 +0300 Subject: [PATCH 14/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ .besouro/2016092915355121/besouroEpisodes.txt | 3 +++ .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index db5006d..91aa4a9 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -84,3 +84,6 @@ EditAction 1475154218598 TestRomanNumerals.java 744 4 9 4 UnitTestCaseAction 1475154218906 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154218907 TestRomanNumerals.java FAIL EditAction 1475154266419 TestRomanNumerals.java 743 4 9 4 +UnitTestCaseAction 1475154266721 TestRomanNumerals.java OK +UnitTestSessionAction 1475154266721 TestRomanNumerals.java OK +EditAction 1475154275489 TestRomanNumerals.java 744 4 9 4 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 4b6fee0..eea1f95 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -2,3 +2,6 @@ 1475153223274 test-first 3 226 true 1475153223275 test-last 1 226 false 1475154103437 test-first 3 869 true +1475154266721 test-addition 1 147 true +1475154266722 test-addition 2 147 true +1475154266723 test-addition 2 147 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 4304cbe..006ff86 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -1,3 +1,4 @@ 1475152982001 test-last 1 430 false 1475153223274 test-first 3 226 true 1475154103437 test-first 3 869 true +1475154266721 test-addition 1 147 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 21fec95..93e38e9 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -1,3 +1,4 @@ 1475152982001 test-last 1 430 false 1475153223274 test-first 3 241 true 1475154103437 test-first 3 880 true +1475154266721 test-addition 1 163 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 27f8eb2..e42df9f 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -26,7 +26,7 @@ public void test_Convert1(){ } @Test public void test_Convert_1100(){ - RomanNumerals.RomanNumber="M"; + RomanNumerals.RomanNumber="MC"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEquals("",1000,RomanNumerals.ArabicNumber); } From b892de8d6ee9bc343a7b52dff73b12a808d6ab13 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:05:37 +0300 Subject: [PATCH 15/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ tests/TestRomanNumerals.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 91aa4a9..497415f 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -87,3 +87,6 @@ EditAction 1475154266419 TestRomanNumerals.java 743 4 9 4 UnitTestCaseAction 1475154266721 TestRomanNumerals.java OK UnitTestSessionAction 1475154266721 TestRomanNumerals.java OK EditAction 1475154275489 TestRomanNumerals.java 744 4 9 4 +UnitTestCaseAction 1475154275768 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154275768 TestRomanNumerals.java FAIL +EditAction 1475154337006 TestRomanNumerals.java 741 4 9 4 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index e42df9f..1e68bc5 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -26,9 +26,9 @@ public void test_Convert1(){ } @Test public void test_Convert_1100(){ - RomanNumerals.RomanNumber="MC"; + RomanNumerals.RomanNumber="VI"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1000,RomanNumerals.ArabicNumber); + assertEquals("",6,RomanNumerals.ArabicNumber); } From ad82e4ee340304b09094223e21d9438ee4bf156e Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:05:44 +0300 Subject: [PATCH 16/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ tests/TestRomanNumerals.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 497415f..eb3f37f 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -90,3 +90,6 @@ EditAction 1475154275489 TestRomanNumerals.java 744 4 9 4 UnitTestCaseAction 1475154275768 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154275768 TestRomanNumerals.java FAIL EditAction 1475154337006 TestRomanNumerals.java 741 4 9 4 +UnitTestCaseAction 1475154337271 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154337271 TestRomanNumerals.java FAIL +EditAction 1475154344113 TestRomanNumerals.java 740 4 9 4 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 1e68bc5..207e345 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -26,9 +26,9 @@ public void test_Convert1(){ } @Test public void test_Convert_1100(){ - RomanNumerals.RomanNumber="VI"; + RomanNumerals.RomanNumber="V"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",6,RomanNumerals.ArabicNumber); + assertEquals("",5,RomanNumerals.ArabicNumber); } From 40f7040d81da1726551a09ae19b9ccb07947cf03 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:07:09 +0300 Subject: [PATCH 17/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ .besouro/2016092915355121/besouroEpisodes.txt | 1 + .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + src/RomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index eb3f37f..7b8fd2e 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -93,3 +93,6 @@ EditAction 1475154337006 TestRomanNumerals.java 741 4 9 4 UnitTestCaseAction 1475154337271 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154337271 TestRomanNumerals.java FAIL EditAction 1475154344113 TestRomanNumerals.java 740 4 9 4 +UnitTestCaseAction 1475154344391 TestRomanNumerals.java OK +UnitTestSessionAction 1475154344391 TestRomanNumerals.java OK +EditAction 1475154429748 RomanNumerals.java 743 1 4 0 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index eea1f95..866c12e 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -5,3 +5,4 @@ 1475154266721 test-addition 1 147 true 1475154266722 test-addition 2 147 true 1475154266723 test-addition 2 147 true +1475154344391 regression 2 68 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 006ff86..a8b0a87 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -2,3 +2,4 @@ 1475153223274 test-first 3 226 true 1475154103437 test-first 3 869 true 1475154266721 test-addition 1 147 true +1475154344391 regression 2 68 false diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 93e38e9..e55a27d 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -2,3 +2,4 @@ 1475153223274 test-first 3 241 true 1475154103437 test-first 3 880 true 1475154266721 test-addition 1 163 true +1475154344391 regression 2 77 true diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 40fdbfc..024338a 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -8,7 +8,7 @@ public int convertToInteger(String romanNum) { int i=0; for(i=0;i Date: Thu, 29 Sep 2016 16:07:30 +0300 Subject: [PATCH 18/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 5 +++++ .besouro/2016092915355121/besouroEpisodes.txt | 1 + .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 6 +++--- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 7b8fd2e..39a9a75 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -96,3 +96,8 @@ EditAction 1475154344113 TestRomanNumerals.java 740 4 9 4 UnitTestCaseAction 1475154344391 TestRomanNumerals.java OK UnitTestSessionAction 1475154344391 TestRomanNumerals.java OK EditAction 1475154429748 RomanNumerals.java 743 1 4 0 +UnitTestCaseAction 1475154430035 TestRomanNumerals.java OK +UnitTestSessionAction 1475154430035 TestRomanNumerals.java OK +RefactoringAction 1475154442207 TestRomanNumerals.java RENAME test_Convert_1100()=>void test_Convert_1() METHOD +RefactoringAction 1475154443215 TestRomanNumerals.java RENAME test_Convert_1()=>void test_Convert_11() METHOD +EditAction 1475154450216 TestRomanNumerals.java 740 4 9 4 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 866c12e..7935d21 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -6,3 +6,4 @@ 1475154266722 test-addition 2 147 true 1475154266723 test-addition 2 147 true 1475154344391 regression 2 68 true +1475154430035 refactoring 2A 0 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index a8b0a87..05a4234 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -3,3 +3,4 @@ 1475154103437 test-first 3 869 true 1475154266721 test-addition 1 147 true 1475154344391 regression 2 68 false +1475154430035 refactoring 2A 0 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index e55a27d..c35b908 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -3,3 +3,4 @@ 1475154103437 test-first 3 880 true 1475154266721 test-addition 1 163 true 1475154344391 regression 2 77 true +1475154430035 refactoring 2A 85 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 207e345..8199701 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -25,10 +25,10 @@ public void test_Convert1(){ assertEquals("",1,RomanNumerals.ArabicNumber); } @Test - public void test_Convert_1100(){ - RomanNumerals.RomanNumber="V"; + public void test_Convert_11(){ + RomanNumerals.RomanNumber="XI"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",5,RomanNumerals.ArabicNumber); + assertEquals("",11,RomanNumerals.ArabicNumber); } From 0e897feb55e724b48bcfd042012ff1b071b1907c Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:09:39 +0300 Subject: [PATCH 19/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 29 ++++++++------------------- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 39a9a75..a754459 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -101,3 +101,6 @@ UnitTestSessionAction 1475154430035 TestRomanNumerals.java OK RefactoringAction 1475154442207 TestRomanNumerals.java RENAME test_Convert_1100()=>void test_Convert_1() METHOD RefactoringAction 1475154443215 TestRomanNumerals.java RENAME test_Convert_1()=>void test_Convert_11() METHOD EditAction 1475154450216 TestRomanNumerals.java 740 4 9 4 +UnitTestCaseAction 1475154450491 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154450491 TestRomanNumerals.java FAIL +EditAction 1475154579445 RomanNumerals.java 719 1 4 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 024338a..d293b3f 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -7,27 +7,14 @@ public int convertToInteger(String romanNum) { String[] RomanNumber = romanNum.split(""); int i=0; for(i=0;i Date: Thu, 29 Sep 2016 16:22:59 +0300 Subject: [PATCH 20/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 19 +++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index a754459..95ffb89 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -104,3 +104,6 @@ EditAction 1475154450216 TestRomanNumerals.java 740 4 9 4 UnitTestCaseAction 1475154450491 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154450491 TestRomanNumerals.java FAIL EditAction 1475154579445 RomanNumerals.java 719 1 4 0 +UnitTestCaseAction 1475154579747 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475154579747 TestRomanNumerals.java FAIL +EditAction 1475155379795 RomanNumerals.java 660 1 3 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index d293b3f..d024ee7 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -4,17 +4,16 @@ public class RomanNumerals { public String RomanNumber; public int convertToInteger(String romanNum) { - String[] RomanNumber = romanNum.split(""); int i=0; - for(i=0;i Date: Thu, 29 Sep 2016 16:23:21 +0300 Subject: [PATCH 21/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 95ffb89..1ba38e2 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -107,3 +107,6 @@ EditAction 1475154579445 RomanNumerals.java 719 1 4 0 UnitTestCaseAction 1475154579747 TestRomanNumerals.java FAIL UnitTestSessionAction 1475154579747 TestRomanNumerals.java FAIL EditAction 1475155379795 RomanNumerals.java 660 1 3 0 +UnitTestCaseAction 1475155380112 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475155380113 TestRomanNumerals.java FAIL +EditAction 1475155401554 RomanNumerals.java 662 1 3 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index d024ee7..609b2bd 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -6,7 +6,7 @@ public class RomanNumerals { public int convertToInteger(String romanNum) { int i=0; for(i=0;i Date: Thu, 29 Sep 2016 16:25:38 +0300 Subject: [PATCH 22/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 1ba38e2..3a310d1 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -110,3 +110,6 @@ EditAction 1475155379795 RomanNumerals.java 660 1 3 0 UnitTestCaseAction 1475155380112 TestRomanNumerals.java FAIL UnitTestSessionAction 1475155380113 TestRomanNumerals.java FAIL EditAction 1475155401554 RomanNumerals.java 662 1 3 0 +UnitTestCaseAction 1475155401826 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475155401826 TestRomanNumerals.java FAIL +EditAction 1475155538827 RomanNumerals.java 653 1 3 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 609b2bd..17abcac 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -6,14 +6,14 @@ public class RomanNumerals { public int convertToInteger(String romanNum) { int i=0; for(i=0;i Date: Thu, 29 Sep 2016 16:26:04 +0300 Subject: [PATCH 23/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 4 ++++ .besouro/2016092915355121/besouroEpisodes.txt | 13 +++++++++++++ .../2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 6 +++--- 5 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 3a310d1..2c90325 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -113,3 +113,7 @@ EditAction 1475155401554 RomanNumerals.java 662 1 3 0 UnitTestCaseAction 1475155401826 TestRomanNumerals.java FAIL UnitTestSessionAction 1475155401826 TestRomanNumerals.java FAIL EditAction 1475155538827 RomanNumerals.java 653 1 3 0 +UnitTestCaseAction 1475155539129 TestRomanNumerals.java OK +UnitTestSessionAction 1475155539130 TestRomanNumerals.java OK +RefactoringAction 1475155561873 TestRomanNumerals.java RENAME test_Convert_11()=>void test_Convert_1984() METHOD +EditAction 1475155564022 TestRomanNumerals.java 751 4 9 4 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 7935d21..8e37fe6 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -7,3 +7,16 @@ 1475154266723 test-addition 2 147 true 1475154344391 regression 2 68 true 1475154430035 refactoring 2A 0 true +1475155539130 refactoring 3 1096 true +1475155539131 refactoring 3 1096 true +1475155539132 refactoring 3 1096 true +1475155539133 refactoring 3 1096 true +1475155539134 refactoring 3 1096 true +1475155539135 refactoring 3 1096 true +1475155539136 refactoring 3 1096 true +1475155539137 refactoring 3 1096 true +1475155539138 refactoring 3 1096 true +1475155539139 refactoring 2A 1096 true +1475155539140 refactoring 3 1096 true +1475155539141 refactoring 3 1096 true +1475155539142 refactoring 3 1096 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 05a4234..5dc62d3 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -4,3 +4,4 @@ 1475154266721 test-addition 1 147 true 1475154344391 regression 2 68 false 1475154430035 refactoring 2A 0 true +1475155539130 refactoring 3 1096 false diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index c35b908..05287e9 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -4,3 +4,4 @@ 1475154266721 test-addition 1 163 true 1475154344391 regression 2 77 true 1475154430035 refactoring 2A 85 true +1475155539130 refactoring 3 1109 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 8199701..adb86c0 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -25,10 +25,10 @@ public void test_Convert1(){ assertEquals("",1,RomanNumerals.ArabicNumber); } @Test - public void test_Convert_11(){ - RomanNumerals.RomanNumber="XI"; + public void test_Convert_1984(){ + RomanNumerals.RomanNumber="MCMLXXXIV"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",11,RomanNumerals.ArabicNumber); + assertEquals("",1984,RomanNumerals.ArabicNumber); } From 6aefb3d2128604796942f1706e5662e4f349be34 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:29:31 +0300 Subject: [PATCH 24/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 34 +++++++++++++++++++++------ 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 2c90325..20ea341 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -117,3 +117,6 @@ UnitTestCaseAction 1475155539129 TestRomanNumerals.java OK UnitTestSessionAction 1475155539130 TestRomanNumerals.java OK RefactoringAction 1475155561873 TestRomanNumerals.java RENAME test_Convert_11()=>void test_Convert_1984() METHOD EditAction 1475155564022 TestRomanNumerals.java 751 4 9 4 +UnitTestCaseAction 1475155564334 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475155564334 TestRomanNumerals.test_Convert_1984 FAIL +EditAction 1475155771565 RomanNumerals.java 1103 1 3 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 17abcac..8455033 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -7,13 +7,33 @@ public int convertToInteger(String romanNum) { int i=0; for(i=0;i Date: Thu, 29 Sep 2016 16:31:33 +0300 Subject: [PATCH 25/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ src/RomanNumerals.java | 14 ++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 20ea341..427b061 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -120,3 +120,6 @@ EditAction 1475155564022 TestRomanNumerals.java 751 4 9 4 UnitTestCaseAction 1475155564334 TestRomanNumerals.java FAIL UnitTestSessionAction 1475155564334 TestRomanNumerals.test_Convert_1984 FAIL EditAction 1475155771565 RomanNumerals.java 1103 1 3 0 +UnitTestCaseAction 1475155771844 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475155771844 TestRomanNumerals.test_Convert_1984 FAIL +EditAction 1475155893733 RomanNumerals.java 1172 1 3 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 8455033..f5d12e5 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -8,30 +8,32 @@ public int convertToInteger(String romanNum) { for(i=0;i Date: Thu, 29 Sep 2016 16:34:08 +0300 Subject: [PATCH 26/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 8 ++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 5 +++++ .../2016092915355121/randomHeuristicEpisodes.txt | 2 ++ .besouro/2016092915355121/zorroEpisodes.txt | 2 ++ tests/TestRomanNumerals.java | 14 ++++++++++++-- 5 files changed, 29 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 427b061..53a9872 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -123,3 +123,11 @@ EditAction 1475155771565 RomanNumerals.java 1103 1 3 0 UnitTestCaseAction 1475155771844 TestRomanNumerals.java FAIL UnitTestSessionAction 1475155771844 TestRomanNumerals.test_Convert_1984 FAIL EditAction 1475155893733 RomanNumerals.java 1172 1 3 0 +UnitTestCaseAction 1475155894001 TestRomanNumerals.java OK +UnitTestSessionAction 1475155894002 TestRomanNumerals.test_Convert_1984 OK +UnitTestCaseAction 1475155905111 TestRomanNumerals.java OK +UnitTestSessionAction 1475155905114 TestRomanNumerals.java OK +RefactoringAction 1475155950523 TestRomanNumerals.java ADD void test_Convert10() METHOD +RefactoringAction 1475156011989 TestRomanNumerals.java ADD void assertEqualsNumber() METHOD +RefactoringAction 1475156021558 TestRomanNumerals.java RENAME assertEqualsNumber()=>void assertEqualsNumber(int) METHOD +EditAction 1475156048892 TestRomanNumerals.java 856 6 10 5 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 8e37fe6..8a57d24 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -20,3 +20,8 @@ 1475155539140 refactoring 3 1096 true 1475155539141 refactoring 3 1096 true 1475155539142 refactoring 3 1096 true +1475155894002 refactoring 3 332 true +1475155894003 refactoring 2A 332 true +1475155894004 refactoring 3 332 true +1475155894005 refactoring 3 332 true +1475155905114 regression 1 0 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 5dc62d3..d41c8bf 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -5,3 +5,5 @@ 1475154344391 regression 2 68 false 1475154430035 refactoring 2A 0 true 1475155539130 refactoring 3 1096 false +1475155894002 refactoring 3 332 false +1475155905114 regression 1 0 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 05287e9..123a0c5 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -5,3 +5,5 @@ 1475154344391 regression 2 77 true 1475154430035 refactoring 2A 85 true 1475155539130 refactoring 3 1109 true +1475155894002 refactoring 3 354 true +1475155905114 regression 1 11 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index adb86c0..ea77b77 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -22,13 +22,23 @@ public void test_AssignDigit(){ public void test_Convert1(){ RomanNumerals.RomanNumber="I"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1,RomanNumerals.ArabicNumber); + assertEqualsNumber(1); } + + @Test + public void test_Convert10(){ + + } + @Test public void test_Convert_1984(){ RomanNumerals.RomanNumber="MCMLXXXIV"; RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); - assertEquals("",1984,RomanNumerals.ArabicNumber); + assertEqualsNumber(1984); + } + + private void assertEqualsNumber(int Number) { + assertEquals("",Number,RomanNumerals.ArabicNumber); } From cd3e2013b1f48def1c813346b840cc446ca41d54 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:34:42 +0300 Subject: [PATCH 27/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 3 +++ .besouro/2016092915355121/besouroEpisodes.txt | 3 +++ .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 3 +-- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 53a9872..e40beef 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -131,3 +131,6 @@ RefactoringAction 1475155950523 TestRomanNumerals.java ADD void test_Convert10() RefactoringAction 1475156011989 TestRomanNumerals.java ADD void assertEqualsNumber() METHOD RefactoringAction 1475156021558 TestRomanNumerals.java RENAME assertEqualsNumber()=>void assertEqualsNumber(int) METHOD EditAction 1475156048892 TestRomanNumerals.java 856 6 10 5 +UnitTestCaseAction 1475156049172 TestRomanNumerals.java OK +UnitTestSessionAction 1475156049172 TestRomanNumerals.java OK +EditAction 1475156082667 TestRomanNumerals.java 795 6 9 5 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index 8a57d24..c1452a6 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -25,3 +25,6 @@ 1475155894004 refactoring 3 332 true 1475155894005 refactoring 3 332 true 1475155905114 regression 1 0 true +1475156049172 test-addition 1 98 true +1475156049173 test-addition 1 98 true +1475156049174 test-addition 1 98 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index d41c8bf..b257fe5 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -7,3 +7,4 @@ 1475155539130 refactoring 3 1096 false 1475155894002 refactoring 3 332 false 1475155905114 regression 1 0 true +1475156049172 test-addition 1 98 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 123a0c5..56145c3 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -7,3 +7,4 @@ 1475155539130 refactoring 3 1109 true 1475155894002 refactoring 3 354 true 1475155905114 regression 1 11 true +1475156049172 test-addition 1 144 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index ea77b77..cd84d72 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -21,7 +21,6 @@ public void test_AssignDigit(){ @Test public void test_Convert1(){ RomanNumerals.RomanNumber="I"; - RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEqualsNumber(1); } @@ -33,11 +32,11 @@ public void test_Convert10(){ @Test public void test_Convert_1984(){ RomanNumerals.RomanNumber="MCMLXXXIV"; - RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEqualsNumber(1984); } private void assertEqualsNumber(int Number) { + RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); assertEquals("",Number,RomanNumerals.ArabicNumber); } From 3e7e1d3fab41414bf308f5816146bba88575fad8 Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:38:46 +0300 Subject: [PATCH 28/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 13 ++++++++ .besouro/2016092915355121/besouroEpisodes.txt | 1 + .../randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 33 ++++++++++++++++++- 5 files changed, 48 insertions(+), 1 deletion(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index e40beef..0ed6b77 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -134,3 +134,16 @@ EditAction 1475156048892 TestRomanNumerals.java 856 6 10 5 UnitTestCaseAction 1475156049172 TestRomanNumerals.java OK UnitTestSessionAction 1475156049172 TestRomanNumerals.java OK EditAction 1475156082667 TestRomanNumerals.java 795 6 9 5 +UnitTestCaseAction 1475156082951 TestRomanNumerals.java OK +UnitTestSessionAction 1475156082951 TestRomanNumerals.java OK +RefactoringAction 1475156270277 TestRomanNumerals.java ADD void test_Convert10()/2 METHOD +RefactoringAction 1475156270279 TestRomanNumerals.java ADD void test_Convert10()/3 METHOD +RefactoringAction 1475156270280 TestRomanNumerals.java ADD void test_Convert10()/4 METHOD +RefactoringAction 1475156270280 TestRomanNumerals.java ADD void test_Convert10()/5 METHOD +RefactoringAction 1475156279825 TestRomanNumerals.java RENAME test_Convert10()/5=>void test_Convert1000() METHOD +RefactoringAction 1475156287869 TestRomanNumerals.java RENAME test_Convert10()/4=>void test_Convert500() METHOD +RefactoringAction 1475156295910 TestRomanNumerals.java RENAME test_Convert10()/3=>void test_Convert100() METHOD +RefactoringAction 1475156307943 TestRomanNumerals.java RENAME test_Convert10()/2=>void test_Convert50() METHOD +RefactoringAction 1475156317481 TestRomanNumerals.java ADD void test_Convert10()/2 METHOD +RefactoringAction 1475156320493 TestRomanNumerals.java RENAME test_Convert10()/2=>void test_Convert5() METHOD +EditAction 1475156326456 TestRomanNumerals.java 1367 11 21 11 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index c1452a6..dabeb39 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -28,3 +28,4 @@ 1475156049172 test-addition 1 98 true 1475156049173 test-addition 1 98 true 1475156049174 test-addition 1 98 true +1475156082951 refactoring 1A 0 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index b257fe5..8659cb1 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -8,3 +8,4 @@ 1475155894002 refactoring 3 332 false 1475155905114 regression 1 0 true 1475156049172 test-addition 1 98 true +1475156082951 refactoring 1A 0 false diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 56145c3..85415d6 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -8,3 +8,4 @@ 1475155894002 refactoring 3 354 true 1475155905114 regression 1 11 true 1475156049172 test-addition 1 144 true +1475156082951 refactoring 1A 33 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index cd84d72..8403b68 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -24,9 +24,40 @@ public void test_Convert1(){ assertEqualsNumber(1); } + @Test + public void test_Convert5(){ + RomanNumerals.RomanNumber="V"; + assertEqualsNumber(5); + } + @Test public void test_Convert10(){ - + RomanNumerals.RomanNumber="X"; + assertEqualsNumber(10); + } + + @Test + public void test_Convert50(){ + RomanNumerals.RomanNumber="L"; + assertEqualsNumber(50); + } + + @Test + public void test_Convert100(){ + RomanNumerals.RomanNumber="C"; + assertEqualsNumber(100); + } + + @Test + public void test_Convert500(){ + RomanNumerals.RomanNumber="D"; + assertEqualsNumber(500); + } + + @Test + public void test_Convert1000(){ + RomanNumerals.RomanNumber="M"; + assertEqualsNumber(1000); } @Test From 42b6712f1ac5b8594284ea7b2a8c96a22214f2ce Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:40:40 +0300 Subject: [PATCH 29/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 7 +++++++ .besouro/2016092915355121/besouroEpisodes.txt | 6 ++++++ .../2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 13 ++++++++++--- 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 0ed6b77..9f57495 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -147,3 +147,10 @@ RefactoringAction 1475156307943 TestRomanNumerals.java RENAME test_Convert10()/2 RefactoringAction 1475156317481 TestRomanNumerals.java ADD void test_Convert10()/2 METHOD RefactoringAction 1475156320493 TestRomanNumerals.java RENAME test_Convert10()/2=>void test_Convert5() METHOD EditAction 1475156326456 TestRomanNumerals.java 1367 11 21 11 +UnitTestCaseAction 1475156326747 TestRomanNumerals.java OK +UnitTestSessionAction 1475156326747 TestRomanNumerals.java OK +RefactoringAction 1475156348595 TestRomanNumerals.java ADD void test_Convert1100() METHOD +RefactoringAction 1475156395314 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475156400350 TestRomanNumerals.java ADD void Convert900() METHOD +RefactoringAction 1475156438000 TestRomanNumerals.java REMOVE test_Convert_1984() METHOD +EditAction 1475156439995 TestRomanNumerals.java 1465 12 23 12 diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index dabeb39..a6a540b 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -29,3 +29,9 @@ 1475156049173 test-addition 1 98 true 1475156049174 test-addition 1 98 true 1475156082951 refactoring 1A 0 true +1475156326747 test-addition 1 56 true +1475156326748 test-addition 1 56 true +1475156326749 test-addition 1 56 true +1475156326750 test-addition 1 56 true +1475156326751 test-addition 1 56 true +1475156326752 test-addition 1 56 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 8659cb1..0d82631 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -9,3 +9,4 @@ 1475155905114 regression 1 0 true 1475156049172 test-addition 1 98 true 1475156082951 refactoring 1A 0 false +1475156326747 test-addition 1 56 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 85415d6..3b3ee69 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -9,3 +9,4 @@ 1475155905114 regression 1 11 true 1475156049172 test-addition 1 144 true 1475156082951 refactoring 1A 33 true +1475156326747 test-addition 1 243 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 8403b68..3ae1628 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -61,10 +61,17 @@ public void test_Convert1000(){ } @Test - public void test_Convert_1984(){ - RomanNumerals.RomanNumber="MCMLXXXIV"; - assertEqualsNumber(1984); + public void test_Convert1100(){ + RomanNumerals.RomanNumber="MC"; + assertEqualsNumber(1100); } + @Test + public void test_Convert900(){ + RomanNumerals.RomanNumber="CM"; + assertEqualsNumber(900); + } + + private void assertEqualsNumber(int Number) { RomanNumerals.convertToInteger(RomanNumerals.RomanNumber); From 98c4669408c49b06aac5e96815b293b70f5eee3b Mon Sep 17 00:00:00 2001 From: somename Date: Thu, 29 Sep 2016 16:45:54 +0300 Subject: [PATCH 30/30] besouro automatic message --- .besouro/2016092915355121/actions.txt | 2 ++ .besouro/2016092915355121/besouroEpisodes.txt | 3 +++ .besouro/2016092915355121/randomHeuristicEpisodes.txt | 1 + .besouro/2016092915355121/zorroEpisodes.txt | 1 + 4 files changed, 7 insertions(+) diff --git a/.besouro/2016092915355121/actions.txt b/.besouro/2016092915355121/actions.txt index 9f57495..a2f18ca 100644 --- a/.besouro/2016092915355121/actions.txt +++ b/.besouro/2016092915355121/actions.txt @@ -154,3 +154,5 @@ RefactoringAction 1475156395314 TestRomanNumerals.java ADD void test FIELD RefactoringAction 1475156400350 TestRomanNumerals.java ADD void Convert900() METHOD RefactoringAction 1475156438000 TestRomanNumerals.java REMOVE test_Convert_1984() METHOD EditAction 1475156439995 TestRomanNumerals.java 1465 12 23 12 +UnitTestCaseAction 1475156440280 TestRomanNumerals.java OK +UnitTestSessionAction 1475156440280 TestRomanNumerals.java OK diff --git a/.besouro/2016092915355121/besouroEpisodes.txt b/.besouro/2016092915355121/besouroEpisodes.txt index a6a540b..333b099 100644 --- a/.besouro/2016092915355121/besouroEpisodes.txt +++ b/.besouro/2016092915355121/besouroEpisodes.txt @@ -35,3 +35,6 @@ 1475156326750 test-addition 1 56 true 1475156326751 test-addition 1 56 true 1475156326752 test-addition 1 56 true +1475156440280 test-addition 1 91 true +1475156440281 test-addition 1 91 true +1475156440282 test-addition 1 91 true diff --git a/.besouro/2016092915355121/randomHeuristicEpisodes.txt b/.besouro/2016092915355121/randomHeuristicEpisodes.txt index 0d82631..34fa875 100644 --- a/.besouro/2016092915355121/randomHeuristicEpisodes.txt +++ b/.besouro/2016092915355121/randomHeuristicEpisodes.txt @@ -10,3 +10,4 @@ 1475156049172 test-addition 1 98 true 1475156082951 refactoring 1A 0 false 1475156326747 test-addition 1 56 true +1475156440280 test-addition 1 91 true diff --git a/.besouro/2016092915355121/zorroEpisodes.txt b/.besouro/2016092915355121/zorroEpisodes.txt index 3b3ee69..9c67fa4 100644 --- a/.besouro/2016092915355121/zorroEpisodes.txt +++ b/.besouro/2016092915355121/zorroEpisodes.txt @@ -10,3 +10,4 @@ 1475156049172 test-addition 1 144 true 1475156082951 refactoring 1A 33 true 1475156326747 test-addition 1 243 true +1475156440280 test-addition 1 113 true