From 07ca3095dd3f9cc37000047d7be1f0abdfbf8eda Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:43:50 +0300 Subject: [PATCH 01/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 12 ++++++++++++ .besouro/20161005142751555/besouroEpisodes.txt | 0 .besouro/20161005142751555/disagreements.txt | 0 .../20161005142751555/randomHeuristicEpisodes.txt | 0 .besouro/20161005142751555/userComments.txt | 0 .besouro/20161005142751555/zorroEpisodes.txt | 0 tests/TestRomanNumerals.java | 9 +++++++-- 7 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .besouro/20161005142751555/actions.txt create mode 100644 .besouro/20161005142751555/besouroEpisodes.txt create mode 100644 .besouro/20161005142751555/disagreements.txt create mode 100644 .besouro/20161005142751555/randomHeuristicEpisodes.txt create mode 100644 .besouro/20161005142751555/userComments.txt create mode 100644 .besouro/20161005142751555/zorroEpisodes.txt diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt new file mode 100644 index 0000000..47ab9eb --- /dev/null +++ b/.besouro/20161005142751555/actions.txt @@ -0,0 +1,12 @@ +FileOpenedAction 1475666871807 TestRomanNumerals.java 159 1 1 0 +RefactoringAction 1475667505999 TestRomanNumerals.java RENAME test()=>void atMosttest() METHOD +RefactoringAction 1475667509521 TestRomanNumerals.java RENAME atMosttest()=>void atMost3test() METHOD +RefactoringAction 1475667513038 TestRomanNumerals.java RENAME atMost3test()=>void atMost3chartest() METHOD +RefactoringAction 1475667515554 TestRomanNumerals.java RENAME atMost3chartest()=>void atMost3charest() METHOD +RefactoringAction 1475667516571 TestRomanNumerals.java RENAME atMost3charest()=>void atMost3charTest() METHOD +RefactoringAction 1475667519592 TestRomanNumerals.java RENAME atMost3charTest()=>void atMost3CharTest() METHOD +RefactoringAction 1475667594318 TestRomanNumerals.java MOVE =>class TestRomanNumerals METHOD +RefactoringAction 1475667623953 TestRomanNumerals.java REMOVE atMost3Char() METHOD +RefactoringAction 1475667626480 TestRomanNumerals.java ADD void atMost3Char() METHOD +RefactoringAction 1475667627506 TestRomanNumerals.java REMOVE atMost3Char() METHOD +EditAction 1475667829820 TestRomanNumerals.java 271 1 3 0 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142751555/disagreements.txt b/.besouro/20161005142751555/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142751555/userComments.txt b/.besouro/20161005142751555/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 5d1de75..6799c16 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -5,8 +5,13 @@ public class TestRomanNumerals { @Test - public void test() { + public void atMost3CharTest() { + RomanNumerals rm = new RomanNumerals("MMMMXIV"); + Boolean valid = atMost3CharCheck("M"); + fail("Not yet implemented"); } - + + + } From 823b7de6b898b587e97ea399d610694e753e1f05 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:55:11 +0300 Subject: [PATCH 02/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 14 +++++++++++++ src/RomanNumerals.java | 27 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 47ab9eb..0c2ccba 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -10,3 +10,17 @@ RefactoringAction 1475667623953 TestRomanNumerals.java REMOVE atMost3Char() METH RefactoringAction 1475667626480 TestRomanNumerals.java ADD void atMost3Char() METHOD RefactoringAction 1475667627506 TestRomanNumerals.java REMOVE atMost3Char() METHOD EditAction 1475667829820 TestRomanNumerals.java 271 1 3 0 +CompilationAction 1475667831177 TestRomanNumerals.java +CompilationAction 1475667831179 TestRomanNumerals.java +RefactoringAction 1475667870445 RomanNumerals.java ADD Boolean atMost3CharCheck(String) METHOD +RefactoringAction 1475667912544 RomanNumerals.java ADD RomanNumerals(String) METHOD +RefactoringAction 1475667939184 RomanNumerals.java ADD string nu FIELD +RefactoringAction 1475667940202 RomanNumerals.java RENAME nu=>string num FIELD +RefactoringAction 1475667944218 RomanNumerals.java REMOVE num FIELD +RefactoringAction 1475667979592 RomanNumerals.java ADD String number FIELD +RefactoringAction 1475668161192 RomanNumerals.java RENAME atMost3CharCheck(String)=>Boolean atMost3CharCheck() METHOD +RefactoringAction 1475668166221 RomanNumerals.java RENAME atMost3CharCheck()=>Boolean atMost3CharCheck(char) METHOD +RefactoringAction 1475668169247 RomanNumerals.java RENAME atMost3CharCheck(char)=>Boolean atMost3CharCheck(har) METHOD +RefactoringAction 1475668170763 RomanNumerals.java RENAME atMost3CharCheck(har)=>Boolean atMost3CharCheck(Char) METHOD +RefactoringAction 1475668177278 RomanNumerals.java RENAME atMost3CharCheck(Char)=>Boolean atMost3CharCheck(char) METHOD +EditAction 1475668511159 RomanNumerals.java 452 3 6 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 20904f0..5995bda 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,8 +1,35 @@ public class RomanNumerals { + + private String number; + + public RomanNumerals(String string) { + number = string; + } + public int convertToInteger(String romanNum) { // To be Implemented return 0; } + + public Boolean atMost3CharCheck(char ch) { + int counter = 0; + + for(int i = 0; i3) { + return false; + } + + return true; + + } + } From 83a225ec600512f90766ffa2857e386ecef6b4a6 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:58:28 +0300 Subject: [PATCH 03/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 7 +++++++ .besouro/20161005142751555/besouroEpisodes.txt | 2 ++ .besouro/20161005142751555/randomHeuristicEpisodes.txt | 2 ++ .besouro/20161005142751555/zorroEpisodes.txt | 2 ++ tests/TestRomanNumerals.java | 7 ++++--- 5 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 0c2ccba..0e1cc6d 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -24,3 +24,10 @@ RefactoringAction 1475668169247 RomanNumerals.java RENAME atMost3CharCheck(char) RefactoringAction 1475668170763 RomanNumerals.java RENAME atMost3CharCheck(har)=>Boolean atMost3CharCheck(Char) METHOD RefactoringAction 1475668177278 RomanNumerals.java RENAME atMost3CharCheck(Char)=>Boolean atMost3CharCheck(char) METHOD EditAction 1475668511159 RomanNumerals.java 452 3 6 0 +CompilationAction 1475668512328 TestRomanNumerals.java +CompilationAction 1475668679934 TestRomanNumerals.java +UnitTestCaseAction 1475668680414 TestRomanNumerals.java OK +UnitTestSessionAction 1475668680416 TestRomanNumerals.java OK +UnitTestCaseAction 1475668687254 TestRomanNumerals.java OK +UnitTestSessionAction 1475668687256 TestRomanNumerals.java OK +EditAction 1475668707630 TestRomanNumerals.java 289 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index e69de29..2d1b837 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -0,0 +1,2 @@ +1475668680416 test-addition 1 1808 true +1475668687256 regression 1 0 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index e69de29..cf76f44 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -0,0 +1,2 @@ +1475668680416 test-addition 1 1808 false +1475668687256 regression 1 0 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index e69de29..3a87c3e 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -0,0 +1,2 @@ +1475668680416 test-addition 1 1808 false +1475668687256 regression 1 6 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 6799c16..1ceead9 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,10 +6,11 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("MMMMXIV"); - Boolean valid = atMost3CharCheck("M"); + RomanNumerals rm = new RomanNumerals("MMMXIV"); + Boolean valid = false; + valid = rm.atMost3CharCheck('M'); - fail("Not yet implemented"); + assertEquals(false, valid); } From 1cd2d6b9297c6f85f7b2e157e0902082694dcec1 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:58:44 +0300 Subject: [PATCH 04/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 0e1cc6d..cd8791a 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -31,3 +31,6 @@ UnitTestSessionAction 1475668680416 TestRomanNumerals.java OK UnitTestCaseAction 1475668687254 TestRomanNumerals.java OK UnitTestSessionAction 1475668687256 TestRomanNumerals.java OK EditAction 1475668707630 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475668708979 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668708980 TestRomanNumerals.java FAIL +EditAction 1475668724669 TestRomanNumerals.java 290 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 1ceead9..2ef2145 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("MMMXIV"); + RomanNumerals rm = new RomanNumerals("MMMXIVM"); Boolean valid = false; valid = rm.atMost3CharCheck('M'); From b201d578e4085edcf1836e266279003a27e428d5 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:58:51 +0300 Subject: [PATCH 05/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 2 ++ .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index cd8791a..1a4ba13 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -34,3 +34,6 @@ EditAction 1475668707630 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475668708979 TestRomanNumerals.java FAIL UnitTestSessionAction 1475668708980 TestRomanNumerals.java FAIL EditAction 1475668724669 TestRomanNumerals.java 290 1 4 1 +UnitTestCaseAction 1475668726103 TestRomanNumerals.java OK +UnitTestSessionAction 1475668726104 TestRomanNumerals.java OK +EditAction 1475668730903 TestRomanNumerals.java 289 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 2d1b837..c58bdc4 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -1,2 +1,4 @@ 1475668680416 test-addition 1 1808 true 1475668687256 regression 1 0 true +1475668726104 test-addition 2 18 true +1475668726105 test-addition 1 18 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index cf76f44..fa2e04d 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -1,2 +1,3 @@ 1475668680416 test-addition 1 1808 false 1475668687256 regression 1 0 true +1475668726104 test-addition 2 18 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 3a87c3e..5f83df8 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -1,2 +1,3 @@ 1475668680416 test-addition 1 1808 false 1475668687256 regression 1 6 false +1475668726104 test-addition 2 38 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 2ef2145..1ceead9 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("MMMXIVM"); + RomanNumerals rm = new RomanNumerals("MMMXIV"); Boolean valid = false; valid = rm.atMost3CharCheck('M'); From 05d61b294130fef7d881985ebf44fca64501acb5 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:59:04 +0300 Subject: [PATCH 06/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 1a4ba13..d3f85ae 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -37,3 +37,6 @@ EditAction 1475668724669 TestRomanNumerals.java 290 1 4 1 UnitTestCaseAction 1475668726103 TestRomanNumerals.java OK UnitTestSessionAction 1475668726104 TestRomanNumerals.java OK EditAction 1475668730903 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475668732291 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668732292 TestRomanNumerals.java FAIL +EditAction 1475668743639 TestRomanNumerals.java 289 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 1ceead9..9ed821e 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("MMMXIV"); + RomanNumerals rm = new RomanNumerals("CCCXIV"); Boolean valid = false; valid = rm.atMost3CharCheck('M'); From 5bfa682bff5a3b7d2cc8a34a8b51584f8222d7d2 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:59:10 +0300 Subject: [PATCH 07/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index d3f85ae..53453d6 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -40,3 +40,6 @@ EditAction 1475668730903 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475668732291 TestRomanNumerals.java FAIL UnitTestSessionAction 1475668732292 TestRomanNumerals.java FAIL EditAction 1475668743639 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475668745063 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668745065 TestRomanNumerals.java FAIL +EditAction 1475668750499 TestRomanNumerals.java 290 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 9ed821e..fb3150b 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCXIV"); + RomanNumerals rm = new RomanNumerals("CCCCXIV"); Boolean valid = false; valid = rm.atMost3CharCheck('M'); From c1e2a72e7f30e39b47f819edc1454bf2ca99e519 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:59:31 +0300 Subject: [PATCH 08/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 53453d6..540f813 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -43,3 +43,6 @@ EditAction 1475668743639 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475668745063 TestRomanNumerals.java FAIL UnitTestSessionAction 1475668745065 TestRomanNumerals.java FAIL EditAction 1475668750499 TestRomanNumerals.java 290 1 4 1 +UnitTestCaseAction 1475668751843 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668751845 TestRomanNumerals.java FAIL +EditAction 1475668770872 TestRomanNumerals.java 290 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index fb3150b..f161174 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -8,7 +8,7 @@ public class TestRomanNumerals { public void atMost3CharTest() { RomanNumerals rm = new RomanNumerals("CCCCXIV"); Boolean valid = false; - valid = rm.atMost3CharCheck('M'); + valid = rm.atMost3CharCheck('C'); assertEquals(false, valid); } From 468f94e7b81bd4b1edf78852ac6e25eaafde6ac5 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 14:59:40 +0300 Subject: [PATCH 09/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 540f813..18b9044 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -46,3 +46,6 @@ EditAction 1475668750499 TestRomanNumerals.java 290 1 4 1 UnitTestCaseAction 1475668751843 TestRomanNumerals.java FAIL UnitTestSessionAction 1475668751845 TestRomanNumerals.java FAIL EditAction 1475668770872 TestRomanNumerals.java 290 1 4 1 +UnitTestCaseAction 1475668772322 TestRomanNumerals.java OK +UnitTestSessionAction 1475668772323 TestRomanNumerals.java OK +EditAction 1475668779831 TestRomanNumerals.java 289 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index c58bdc4..61ff705 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -2,3 +2,4 @@ 1475668687256 regression 1 0 true 1475668726104 test-addition 2 18 true 1475668726105 test-addition 1 18 true +1475668772323 regression 2 41 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index fa2e04d..015dc0d 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -1,3 +1,4 @@ 1475668680416 test-addition 1 1808 false 1475668687256 regression 1 0 true 1475668726104 test-addition 2 18 true +1475668772323 regression 2 41 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 5f83df8..5ab6c1e 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -1,3 +1,4 @@ 1475668680416 test-addition 1 1808 false 1475668687256 regression 1 6 false 1475668726104 test-addition 2 38 false +1475668772323 regression 2 46 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index f161174..07fa42e 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCCXIV"); + RomanNumerals rm = new RomanNumerals("CCCXIV"); Boolean valid = false; valid = rm.atMost3CharCheck('C'); From cb79d325600224e28f32550de40304d38c4da922 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:00:28 +0300 Subject: [PATCH 10/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 18b9044..af5e8fc 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -49,3 +49,6 @@ EditAction 1475668770872 TestRomanNumerals.java 290 1 4 1 UnitTestCaseAction 1475668772322 TestRomanNumerals.java OK UnitTestSessionAction 1475668772323 TestRomanNumerals.java OK EditAction 1475668779831 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475668781059 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668781060 TestRomanNumerals.java FAIL +EditAction 1475668828188 TestRomanNumerals.java 286 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 07fa42e..dbd1e4c 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -8,7 +8,7 @@ public class TestRomanNumerals { public void atMost3CharTest() { RomanNumerals rm = new RomanNumerals("CCCXIV"); Boolean valid = false; - valid = rm.atMost3CharCheck('C'); + valid = rm.atMost3CharCheck(); assertEquals(false, valid); } From 79238b6703b17251fd82215b94cf2369749bbde6 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:06:59 +0300 Subject: [PATCH 11/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ src/RomanNumerals.java | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index af5e8fc..59d57f3 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -52,3 +52,6 @@ EditAction 1475668779831 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475668781059 TestRomanNumerals.java FAIL UnitTestSessionAction 1475668781060 TestRomanNumerals.java FAIL EditAction 1475668828188 TestRomanNumerals.java 286 1 4 1 +CompilationAction 1475668829492 TestRomanNumerals.java +RefactoringAction 1475668846250 RomanNumerals.java RENAME atMost3CharCheck(char)=>Boolean atMost3CharCheck() METHOD +EditAction 1475669218683 RomanNumerals.java 712 3 9 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 5995bda..49c8ec6 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -13,18 +13,30 @@ public int convertToInteger(String romanNum) { } - public Boolean atMost3CharCheck(char ch) { - int counter = 0; + public Boolean atMost3CharCheck() { + int counter1 = 0; + int counter2 = 0; + int counter3 = 0; + int counter4 = 0; for(int i = 0; i3) { + if(counter1>3 || counter2>3 || counter3>3 || counter4>3) { return false; } From 406ae91d2679311e0257710ea44a39a7a32a4237 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:07:24 +0300 Subject: [PATCH 12/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 4 ++++ src/RomanNumerals.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 59d57f3..a0cad50 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -55,3 +55,7 @@ EditAction 1475668828188 TestRomanNumerals.java 286 1 4 1 CompilationAction 1475668829492 TestRomanNumerals.java RefactoringAction 1475668846250 RomanNumerals.java RENAME atMost3CharCheck(char)=>Boolean atMost3CharCheck() METHOD EditAction 1475669218683 RomanNumerals.java 712 3 9 0 +CompilationAction 1475669219875 RomanNumerals.java +CompilationAction 1475669238550 RomanNumerals.java +CompilationAction 1475669238728 RomanNumerals.java +EditAction 1475669244527 RomanNumerals.java 713 3 9 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 49c8ec6..6978eec 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -28,7 +28,7 @@ public Boolean atMost3CharCheck() { ++counter2; } if('C' == number.charAt(i)) { - ++counte3; + ++counter3; } if('M' == number.charAt(i)) { ++counter4; From 56881e3c69d8eb055013261c6a5eff12d714d0ee Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:07:57 +0300 Subject: [PATCH 13/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 1 + tests/TestRomanNumerals.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index a0cad50..3302333 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -59,3 +59,4 @@ CompilationAction 1475669219875 RomanNumerals.java CompilationAction 1475669238550 RomanNumerals.java CompilationAction 1475669238728 RomanNumerals.java EditAction 1475669244527 RomanNumerals.java 713 3 9 0 +EditAction 1475669276652 TestRomanNumerals.java 285 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index dbd1e4c..399e676 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -10,7 +10,7 @@ public void atMost3CharTest() { Boolean valid = false; valid = rm.atMost3CharCheck(); - assertEquals(false, valid); + assertEquals(true, valid); } From d2db2619bf143273c54432b999c1226742c1f4b3 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:08:11 +0300 Subject: [PATCH 14/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 2 ++ .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 3302333..8ad4e3d 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -60,3 +60,6 @@ CompilationAction 1475669238550 RomanNumerals.java CompilationAction 1475669238728 RomanNumerals.java EditAction 1475669244527 RomanNumerals.java 713 3 9 0 EditAction 1475669276652 TestRomanNumerals.java 285 1 4 1 +UnitTestCaseAction 1475669278282 TestRomanNumerals.java OK +UnitTestSessionAction 1475669278283 TestRomanNumerals.java OK +EditAction 1475669290798 TestRomanNumerals.java 286 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 61ff705..3b4b492 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -3,3 +3,5 @@ 1475668726104 test-addition 2 18 true 1475668726105 test-addition 1 18 true 1475668772323 regression 2 41 true +1475669278283 refactoring 2A 498 true +1475669278284 production 1 498 false diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index 015dc0d..e2b8720 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -2,3 +2,4 @@ 1475668687256 regression 1 0 true 1475668726104 test-addition 2 18 true 1475668772323 regression 2 41 true +1475669278283 refactoring 2A 498 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 5ab6c1e..390c5ac 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -2,3 +2,4 @@ 1475668687256 regression 1 6 false 1475668726104 test-addition 2 38 false 1475668772323 regression 2 46 false +1475669278283 refactoring 2A 505 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 399e676..c8d931f 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCXIV"); + RomanNumerals rm = new RomanNumerals("CCCCXIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From e7a9db2cc5ee3d2d1abf3a830635367aa829ecb8 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:08:23 +0300 Subject: [PATCH 15/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 8ad4e3d..ee826da 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -63,3 +63,6 @@ EditAction 1475669276652 TestRomanNumerals.java 285 1 4 1 UnitTestCaseAction 1475669278282 TestRomanNumerals.java OK UnitTestSessionAction 1475669278283 TestRomanNumerals.java OK EditAction 1475669290798 TestRomanNumerals.java 286 1 4 1 +UnitTestCaseAction 1475669292319 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669292320 TestRomanNumerals.java FAIL +EditAction 1475669302783 TestRomanNumerals.java 288 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index c8d931f..b696231 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCCXIV"); + RomanNumerals rm = new RomanNumerals("CCCXMMMIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From b04120555e0dcf6d424a78b560e668662ecd884d Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:08:28 +0300 Subject: [PATCH 16/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index ee826da..a2d27d0 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -66,3 +66,6 @@ EditAction 1475669290798 TestRomanNumerals.java 286 1 4 1 UnitTestCaseAction 1475669292319 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669292320 TestRomanNumerals.java FAIL EditAction 1475669302783 TestRomanNumerals.java 288 1 4 1 +UnitTestCaseAction 1475669304221 TestRomanNumerals.java OK +UnitTestSessionAction 1475669304222 TestRomanNumerals.java OK +EditAction 1475669308613 TestRomanNumerals.java 289 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 3b4b492..a459fbb 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -5,3 +5,4 @@ 1475668772323 regression 2 41 true 1475669278283 refactoring 2A 498 true 1475669278284 production 1 498 false +1475669304222 regression 2 13 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index e2b8720..e9c53d0 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -3,3 +3,4 @@ 1475668726104 test-addition 2 18 true 1475668772323 regression 2 41 true 1475669278283 refactoring 2A 498 true +1475669304222 regression 2 13 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 390c5ac..aceb151 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -3,3 +3,4 @@ 1475668726104 test-addition 2 38 false 1475668772323 regression 2 46 false 1475669278283 refactoring 2A 505 false +1475669304222 regression 2 25 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index b696231..8db5283 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCXMMMIV"); + RomanNumerals rm = new RomanNumerals("CCCXMMMIVM"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 2b887806515a23af258cf2651f2c8a9ec37d7d1a Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:08:47 +0300 Subject: [PATCH 17/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index a2d27d0..051488d 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -69,3 +69,6 @@ EditAction 1475669302783 TestRomanNumerals.java 288 1 4 1 UnitTestCaseAction 1475669304221 TestRomanNumerals.java OK UnitTestSessionAction 1475669304222 TestRomanNumerals.java OK EditAction 1475669308613 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475669310492 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669310493 TestRomanNumerals.java FAIL +EditAction 1475669327190 TestRomanNumerals.java 287 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 8db5283..3a377be 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("CCCXMMMIVM"); + RomanNumerals rm = new RomanNumerals("XXXMMMIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From be9ae99b117a3bf6b0ac28439fcebbe7e44974b6 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:08:57 +0300 Subject: [PATCH 18/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 051488d..0830f2e 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -72,3 +72,6 @@ EditAction 1475669308613 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475669310492 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669310493 TestRomanNumerals.java FAIL EditAction 1475669327190 TestRomanNumerals.java 287 1 4 1 +UnitTestCaseAction 1475669328713 TestRomanNumerals.java OK +UnitTestSessionAction 1475669328714 TestRomanNumerals.java OK +EditAction 1475669336905 TestRomanNumerals.java 288 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index a459fbb..f112cbf 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -6,3 +6,4 @@ 1475669278283 refactoring 2A 498 true 1475669278284 production 1 498 false 1475669304222 regression 2 13 true +1475669328714 regression 2 20 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index e9c53d0..f26a804 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -4,3 +4,4 @@ 1475668772323 regression 2 41 true 1475669278283 refactoring 2A 498 true 1475669304222 regression 2 13 true +1475669328714 regression 2 20 false diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index aceb151..c6b0f75 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -4,3 +4,4 @@ 1475668772323 regression 2 46 false 1475669278283 refactoring 2A 505 false 1475669304222 regression 2 25 false +1475669328714 regression 2 24 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 3a377be..fab6344 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMIV"); + RomanNumerals rm = new RomanNumerals("XXXMMMXIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 2cad07bf0387455dca7968e1415aa6c30f08dc16 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:09:28 +0300 Subject: [PATCH 19/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 0830f2e..98005e0 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -75,3 +75,6 @@ EditAction 1475669327190 TestRomanNumerals.java 287 1 4 1 UnitTestCaseAction 1475669328713 TestRomanNumerals.java OK UnitTestSessionAction 1475669328714 TestRomanNumerals.java OK EditAction 1475669336905 TestRomanNumerals.java 288 1 4 1 +UnitTestCaseAction 1475669338353 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669338354 TestRomanNumerals.java FAIL +EditAction 1475669368389 TestRomanNumerals.java 289 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index fab6344..9b59cf8 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMXIV"); + RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 709725ab33dd7fe2bec5d6fbd26504bd0322a005 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:09:35 +0300 Subject: [PATCH 20/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 98005e0..970f684 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -78,3 +78,6 @@ EditAction 1475669336905 TestRomanNumerals.java 288 1 4 1 UnitTestCaseAction 1475669338353 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669338354 TestRomanNumerals.java FAIL EditAction 1475669368389 TestRomanNumerals.java 289 1 4 1 +UnitTestCaseAction 1475669369764 TestRomanNumerals.java OK +UnitTestSessionAction 1475669369765 TestRomanNumerals.java OK +EditAction 1475669375003 TestRomanNumerals.java 290 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index f112cbf..67c0b5b 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -7,3 +7,4 @@ 1475669278284 production 1 498 false 1475669304222 regression 2 13 true 1475669328714 regression 2 20 true +1475669369765 regression 2 32 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index f26a804..9bc046b 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -5,3 +5,4 @@ 1475669278283 refactoring 2A 498 true 1475669304222 regression 2 13 true 1475669328714 regression 2 20 false +1475669369765 regression 2 32 false diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index c6b0f75..90b4897 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -5,3 +5,4 @@ 1475669278283 refactoring 2A 505 false 1475669304222 regression 2 25 false 1475669328714 regression 2 24 false +1475669369765 regression 2 41 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 9b59cf8..892f4a7 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); + RomanNumerals rm = new RomanNumerals("XIXXMMMIIIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 687bd77f4a78d7c2bb9af60dd33314d14df309eb Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:09:45 +0300 Subject: [PATCH 21/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 970f684..695f2c5 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -81,3 +81,6 @@ EditAction 1475669368389 TestRomanNumerals.java 289 1 4 1 UnitTestCaseAction 1475669369764 TestRomanNumerals.java OK UnitTestSessionAction 1475669369765 TestRomanNumerals.java OK EditAction 1475669375003 TestRomanNumerals.java 290 1 4 1 +UnitTestCaseAction 1475669376470 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669376471 TestRomanNumerals.java FAIL +EditAction 1475669385325 TestRomanNumerals.java 292 1 4 1 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 892f4a7..1b109c6 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("XIXXMMMIIIV"); + RomanNumerals rm = new RomanNumerals("XVVVXXMMMIIIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 87c82a79258183a684060e85db5833aacbeeb585 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:10:03 +0300 Subject: [PATCH 22/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 695f2c5..c021c3f 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -84,3 +84,6 @@ EditAction 1475669375003 TestRomanNumerals.java 290 1 4 1 UnitTestCaseAction 1475669376470 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669376471 TestRomanNumerals.java FAIL EditAction 1475669385325 TestRomanNumerals.java 292 1 4 1 +UnitTestCaseAction 1475669386517 TestRomanNumerals.java OK +UnitTestSessionAction 1475669386518 TestRomanNumerals.java OK +EditAction 1475669403039 TestRomanNumerals.java 289 1 4 1 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 67c0b5b..e50badf 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -8,3 +8,4 @@ 1475669304222 regression 2 13 true 1475669328714 regression 2 20 true 1475669369765 regression 2 32 true +1475669386518 regression 2 11 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index 9bc046b..2fd5ea1 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -6,3 +6,4 @@ 1475669304222 regression 2 13 true 1475669328714 regression 2 20 false 1475669369765 regression 2 32 false +1475669386518 regression 2 11 false diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 90b4897..ff7f07f 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -6,3 +6,4 @@ 1475669304222 regression 2 25 false 1475669328714 regression 2 24 false 1475669369765 regression 2 41 false +1475669386518 regression 2 16 false diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 1b109c6..9b59cf8 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,7 +6,7 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { - RomanNumerals rm = new RomanNumerals("XVVVXXMMMIIIV"); + RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); From 7c66de4338bbd69fea637c2e10a26e4d435fec1f Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:15:27 +0300 Subject: [PATCH 23/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 5 +++++ src/RomanNumerals.java | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index c021c3f..92514d9 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -87,3 +87,8 @@ EditAction 1475669385325 TestRomanNumerals.java 292 1 4 1 UnitTestCaseAction 1475669386517 TestRomanNumerals.java OK UnitTestSessionAction 1475669386518 TestRomanNumerals.java OK EditAction 1475669403039 TestRomanNumerals.java 289 1 4 1 +RefactoringAction 1475669492971 TestRomanNumerals.java ADD void atMost3CharTest()/2 METHOD +RefactoringAction 1475669502986 TestRomanNumerals.java RENAME atMost3CharTest()/2=>void CharTest() METHOD +RefactoringAction 1475669508500 TestRomanNumerals.java RENAME CharTest()=>void repeatCharTest() METHOD +RefactoringAction 1475669619057 RomanNumerals.java ADD Boolean repetitionCharCheck() METHOD +EditAction 1475669727087 RomanNumerals.java 1125 4 15 0 diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 6978eec..6c86af7 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -43,5 +43,31 @@ public Boolean atMost3CharCheck() { return true; } + + public Boolean repetitionCharCheck() { + int counter1 = 0; + int counter2 = 0; + int counter3 = 0; + + for(int i = 0; i1 || counter2>1 || counter3>1 ) { + return false; + } + + return true; + } } From 5d7b4a6147f23743eaf994b16c7172e76403a6a8 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:15:31 +0300 Subject: [PATCH 24/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 1 + tests/TestRomanNumerals.java | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 92514d9..c2ddbf3 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -92,3 +92,4 @@ RefactoringAction 1475669502986 TestRomanNumerals.java RENAME atMost3CharTest()/ RefactoringAction 1475669508500 TestRomanNumerals.java RENAME CharTest()=>void repeatCharTest() METHOD RefactoringAction 1475669619057 RomanNumerals.java ADD Boolean repetitionCharCheck() METHOD EditAction 1475669727087 RomanNumerals.java 1125 4 15 0 +EditAction 1475669731328 TestRomanNumerals.java 479 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 9b59cf8..3280263 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -13,6 +13,14 @@ public void atMost3CharTest() { assertEquals(true, valid); } + @Test + public void repeatCharTest() { + RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); + Boolean valid = false; + valid = rm.repetitionCharCheck(); + + assertEquals(true, valid); + } } From a8c631a6f432a1808eba78728c867c40ace21ea0 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:17 +0300 Subject: [PATCH 25/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 2 ++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index c2ddbf3..0cf756c 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -93,3 +93,5 @@ RefactoringAction 1475669508500 TestRomanNumerals.java RENAME CharTest()=>void r RefactoringAction 1475669619057 RomanNumerals.java ADD Boolean repetitionCharCheck() METHOD EditAction 1475669727087 RomanNumerals.java 1125 4 15 0 EditAction 1475669731328 TestRomanNumerals.java 479 2 8 2 +RefactoringAction 1475669765666 TestRomanNumerals.java RENAME repeatCharTest()=>void repetitionCharTest() METHOD +EditAction 1475669777345 TestRomanNumerals.java 483 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 3280263..100a03d 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -14,7 +14,7 @@ public void atMost3CharTest() { } @Test - public void repeatCharTest() { + public void repetitionCharTest() { RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From eaa82cde9cab9d571d256c1ac1261ee0e87b28e5 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:25 +0300 Subject: [PATCH 26/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .../20161005142751555/besouroEpisodes.txt | 2 ++ .../randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 19 ++++++++++--------- tests/TestRomanNumerals.java | 2 +- 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 0cf756c..135b967 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -95,3 +95,6 @@ EditAction 1475669727087 RomanNumerals.java 1125 4 15 0 EditAction 1475669731328 TestRomanNumerals.java 479 2 8 2 RefactoringAction 1475669765666 TestRomanNumerals.java RENAME repeatCharTest()=>void repetitionCharTest() METHOD EditAction 1475669777345 TestRomanNumerals.java 483 2 8 2 +UnitTestCaseAction 1475669778715 TestRomanNumerals.java OK +UnitTestSessionAction 1475669778716 TestRomanNumerals.java OK +EditAction 1475669784990 TestRomanNumerals.java 484 2 8 2 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index e50badf..4701368 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -9,3 +9,5 @@ 1475669328714 regression 2 20 true 1475669369765 regression 2 32 true 1475669386518 regression 2 11 true +1475669778716 test-first 4 375 true +1475669778717 test-last 1 375 false diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index 2fd5ea1..23bad2c 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -7,3 +7,4 @@ 1475669328714 regression 2 20 false 1475669369765 regression 2 32 false 1475669386518 regression 2 11 false +1475669778716 test-first 4 375 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index ff7f07f..188ea52 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -1,9 +1,10 @@ -1475668680416 test-addition 1 1808 false -1475668687256 regression 1 6 false -1475668726104 test-addition 2 38 false -1475668772323 regression 2 46 false -1475669278283 refactoring 2A 505 false -1475669304222 regression 2 25 false -1475669328714 regression 2 24 false -1475669369765 regression 2 41 false -1475669386518 regression 2 16 false +1475668680416 test-addition 1 1808 true +1475668687256 regression 1 6 true +1475668726104 test-addition 2 38 true +1475668772323 regression 2 46 true +1475669278283 refactoring 2A 505 true +1475669304222 regression 2 25 true +1475669328714 regression 2 24 true +1475669369765 regression 2 41 true +1475669386518 regression 2 16 true +1475669778716 test-first 4 392 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 100a03d..dcbcd67 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); + RomanNumerals rm = new RomanNumerals("XXXMMMVIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From d7654477a10af54fd810bcdba29c00ed70b1956f Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:33 +0300 Subject: [PATCH 27/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 135b967..980a2e1 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -98,3 +98,6 @@ EditAction 1475669777345 TestRomanNumerals.java 483 2 8 2 UnitTestCaseAction 1475669778715 TestRomanNumerals.java OK UnitTestSessionAction 1475669778716 TestRomanNumerals.java OK EditAction 1475669784990 TestRomanNumerals.java 484 2 8 2 +UnitTestCaseAction 1475669786318 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669786319 TestRomanNumerals.java FAIL +EditAction 1475669792643 TestRomanNumerals.java 484 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index dcbcd67..dae3967 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMVIIIV"); + RomanNumerals rm = new RomanNumerals("XXXMMMDIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From 82e44e6893e22bd4d71bc813c42898424a982944 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:40 +0300 Subject: [PATCH 28/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 980a2e1..c868caa 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -101,3 +101,6 @@ EditAction 1475669784990 TestRomanNumerals.java 484 2 8 2 UnitTestCaseAction 1475669786318 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669786319 TestRomanNumerals.java FAIL EditAction 1475669792643 TestRomanNumerals.java 484 2 8 2 +UnitTestCaseAction 1475669794098 TestRomanNumerals.java OK +UnitTestSessionAction 1475669794099 TestRomanNumerals.java OK +EditAction 1475669800345 TestRomanNumerals.java 485 2 8 2 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 4701368..31138a9 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -11,3 +11,4 @@ 1475669386518 regression 2 11 true 1475669778716 test-first 4 375 true 1475669778717 test-last 1 375 false +1475669794099 regression 2 9 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index 23bad2c..d738445 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -8,3 +8,4 @@ 1475669369765 regression 2 32 false 1475669386518 regression 2 11 false 1475669778716 test-first 4 375 true +1475669794099 regression 2 9 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index 188ea52..b724762 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -8,3 +8,4 @@ 1475669369765 regression 2 41 true 1475669386518 regression 2 16 true 1475669778716 test-first 4 392 true +1475669794099 regression 2 15 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index dae3967..004d78b 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXMMMDIIIV"); + RomanNumerals rm = new RomanNumerals("XXXDMMMDIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From a8b6b3a41673b9a4414cadcabe50ed9a4ece4bd2 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:48 +0300 Subject: [PATCH 29/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index c868caa..87359ee 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -104,3 +104,6 @@ EditAction 1475669792643 TestRomanNumerals.java 484 2 8 2 UnitTestCaseAction 1475669794098 TestRomanNumerals.java OK UnitTestSessionAction 1475669794099 TestRomanNumerals.java OK EditAction 1475669800345 TestRomanNumerals.java 485 2 8 2 +UnitTestCaseAction 1475669801824 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669801825 TestRomanNumerals.java FAIL +EditAction 1475669808200 TestRomanNumerals.java 485 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 004d78b..55d0deb 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXDMMMDIIIV"); + RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From 03a68d343745c6a1c630e6c7a64e901718b1e76c Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:16:54 +0300 Subject: [PATCH 30/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + tests/TestRomanNumerals.java | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 87359ee..b44cc84 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -107,3 +107,6 @@ EditAction 1475669800345 TestRomanNumerals.java 485 2 8 2 UnitTestCaseAction 1475669801824 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669801825 TestRomanNumerals.java FAIL EditAction 1475669808200 TestRomanNumerals.java 485 2 8 2 +UnitTestCaseAction 1475669809666 TestRomanNumerals.java OK +UnitTestSessionAction 1475669809668 TestRomanNumerals.java OK +EditAction 1475669814300 TestRomanNumerals.java 486 2 8 2 diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 31138a9..915df74 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -12,3 +12,4 @@ 1475669778716 test-first 4 375 true 1475669778717 test-last 1 375 false 1475669794099 regression 2 9 true +1475669809668 regression 2 9 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index d738445..dfb6504 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -9,3 +9,4 @@ 1475669386518 regression 2 11 false 1475669778716 test-first 4 375 true 1475669794099 regression 2 9 true +1475669809668 regression 2 9 false diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index b724762..f26e338 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -9,3 +9,4 @@ 1475669386518 regression 2 16 true 1475669778716 test-first 4 392 true 1475669794099 regression 2 15 true +1475669809668 regression 2 15 true diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 55d0deb..f652023 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIV"); + RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIVL"); Boolean valid = false; valid = rm.repetitionCharCheck(); From 4398a07de85429282beea897c1d918b2dfbb4305 Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:17:00 +0300 Subject: [PATCH 31/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 3 +++ tests/TestRomanNumerals.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index b44cc84..1ba45be 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -110,3 +110,6 @@ EditAction 1475669808200 TestRomanNumerals.java 485 2 8 2 UnitTestCaseAction 1475669809666 TestRomanNumerals.java OK UnitTestSessionAction 1475669809668 TestRomanNumerals.java OK EditAction 1475669814300 TestRomanNumerals.java 486 2 8 2 +UnitTestCaseAction 1475669815582 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669815583 TestRomanNumerals.java FAIL +EditAction 1475669820590 TestRomanNumerals.java 485 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index f652023..55d0deb 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -15,7 +15,7 @@ public void atMost3CharTest() { @Test public void repetitionCharTest() { - RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIVL"); + RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); From 3a1cb84c35a1cdffb79b196e822032fc5eb810cc Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 15:17:23 +0300 Subject: [PATCH 32/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 1 + tests/TestRomanNumerals.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 1ba45be..2dc5a18 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -113,3 +113,4 @@ EditAction 1475669814300 TestRomanNumerals.java 486 2 8 2 UnitTestCaseAction 1475669815582 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669815583 TestRomanNumerals.java FAIL EditAction 1475669820590 TestRomanNumerals.java 485 2 8 2 +EditAction 1475669843539 TestRomanNumerals.java 497 2 8 2 diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 55d0deb..47a097c 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -6,20 +6,24 @@ public class TestRomanNumerals { @Test public void atMost3CharTest() { + RomanNumerals rm = new RomanNumerals("XXXMMMIIIV"); Boolean valid = false; valid = rm.atMost3CharCheck(); assertEquals(true, valid); + } @Test public void repetitionCharTest() { + RomanNumerals rm = new RomanNumerals("XXXLMMMDIIIV"); Boolean valid = false; valid = rm.repetitionCharCheck(); assertEquals(true, valid); + } From 2ec56a08b0e82904d3e44d38fd2168510cc1030b Mon Sep 17 00:00:00 2001 From: somename Date: Wed, 5 Oct 2016 16:26:25 +0300 Subject: [PATCH 33/34] besouro automatic message --- .besouro/20161005142751555/actions.txt | 2 ++ .besouro/20161005142751555/besouroEpisodes.txt | 1 + .besouro/20161005142751555/randomHeuristicEpisodes.txt | 1 + .besouro/20161005142751555/zorroEpisodes.txt | 1 + 4 files changed, 5 insertions(+) diff --git a/.besouro/20161005142751555/actions.txt b/.besouro/20161005142751555/actions.txt index 2dc5a18..15c403d 100644 --- a/.besouro/20161005142751555/actions.txt +++ b/.besouro/20161005142751555/actions.txt @@ -114,3 +114,5 @@ UnitTestCaseAction 1475669815582 TestRomanNumerals.java FAIL UnitTestSessionAction 1475669815583 TestRomanNumerals.java FAIL EditAction 1475669820590 TestRomanNumerals.java 485 2 8 2 EditAction 1475669843539 TestRomanNumerals.java 497 2 8 2 +UnitTestCaseAction 1475669993461 TestRomanNumerals.java OK +UnitTestSessionAction 1475669993462 TestRomanNumerals.java OK diff --git a/.besouro/20161005142751555/besouroEpisodes.txt b/.besouro/20161005142751555/besouroEpisodes.txt index 915df74..95dd1c2 100644 --- a/.besouro/20161005142751555/besouroEpisodes.txt +++ b/.besouro/20161005142751555/besouroEpisodes.txt @@ -13,3 +13,4 @@ 1475669778717 test-last 1 375 false 1475669794099 regression 2 9 true 1475669809668 regression 2 9 true +1475669993462 regression 2 179 true diff --git a/.besouro/20161005142751555/randomHeuristicEpisodes.txt b/.besouro/20161005142751555/randomHeuristicEpisodes.txt index dfb6504..2c0cd96 100644 --- a/.besouro/20161005142751555/randomHeuristicEpisodes.txt +++ b/.besouro/20161005142751555/randomHeuristicEpisodes.txt @@ -10,3 +10,4 @@ 1475669778716 test-first 4 375 true 1475669794099 regression 2 9 true 1475669809668 regression 2 9 false +1475669993462 regression 2 179 true diff --git a/.besouro/20161005142751555/zorroEpisodes.txt b/.besouro/20161005142751555/zorroEpisodes.txt index f26e338..1e84195 100644 --- a/.besouro/20161005142751555/zorroEpisodes.txt +++ b/.besouro/20161005142751555/zorroEpisodes.txt @@ -10,3 +10,4 @@ 1475669778716 test-first 4 392 true 1475669794099 regression 2 15 true 1475669809668 regression 2 15 true +1475669993462 regression 2 183 true From 68f9e9111e1dd44e73edaa01b4b2bf2fb08fec10 Mon Sep 17 00:00:00 2001 From: averma Date: Wed, 5 Oct 2016 16:27:54 +0300 Subject: [PATCH 34/34] Latest changes --- src/RomanNumerals.java | 2 +- tests/TestRomanNumerals.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 6c86af7..825dde7 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -60,7 +60,7 @@ public Boolean repetitionCharCheck() { if('D' == number.charAt(i)) { ++counter3; } - + } if(counter1>1 || counter2>1 || counter3>1 ) { diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 47a097c..63ad8b1 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -27,4 +27,4 @@ public void repetitionCharTest() { } -} +} \ No newline at end of file