-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Leap analyzer unit tests to golden tests
- Loading branch information
1 parent
c9383c1
commit 17f0bda
Showing
31 changed files
with
269 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 0 additions & 51 deletions
51
src/test/java/analyzer/exercises/leap/LeapAnalyzerTest.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{"comments": [ | ||
{ | ||
"comment": "java.general.avoid_hard_coded_test_cases", | ||
"type": "essential" | ||
}, | ||
{ | ||
"comment": "java.leap.use_minimum_number_of_checks", | ||
"type": "actionable" | ||
}, | ||
{ | ||
"comment": "java.general.feedback_request", | ||
"type": "informative" | ||
} | ||
]} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{"comments": [ | ||
{ | ||
"comment": "java.leap.avoid_conditional_logic", | ||
"type": "actionable" | ||
}, | ||
{ | ||
"comment": "java.general.feedback_request", | ||
"type": "informative" | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{"comments": [ | ||
{ | ||
"comment": "java.leap.no_built_in_methods", | ||
"type": "essential" | ||
}, | ||
{ | ||
"comment": "java.general.feedback_request", | ||
"type": "informative" | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{"comments": [ | ||
{ | ||
"comment": "java.leap.avoid_conditional_logic", | ||
"type": "actionable" | ||
}, | ||
{ | ||
"comment": "java.general.feedback_request", | ||
"type": "informative" | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"authors": [ | ||
"sonapraneeth-a" | ||
], | ||
"contributors": [ | ||
"jmrunkle", | ||
"lemoncurry", | ||
"msomji", | ||
"muzimuzhi", | ||
"sshine" | ||
], | ||
"files": { | ||
"solution": [ | ||
"src/main/java/Leap.java" | ||
], | ||
"test": [ | ||
"src/test/java/LeapTest.java" | ||
], | ||
"example": [ | ||
".meta/src/reference/java/Leap.java" | ||
], | ||
"invalidator": [ | ||
"build.gradle" | ||
] | ||
}, | ||
"blurb": "Determine whether a given year is a leap year.", | ||
"source": "CodeRanch Cattle Drive, Assignment 3", | ||
"source_url": "https://coderanch.com/t/718816/Leap" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{"comments": [ | ||
{ | ||
"comment": "java.leap.use_minimum_number_of_checks", | ||
"type": "actionable" | ||
}, | ||
{ | ||
"comment": "java.general.feedback_request", | ||
"type": "informative" | ||
} | ||
]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
File renamed without changes.