This file contains hidden or 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
| import java.util.List; | |
| /** | |
| * A Class for JUnit5 Exercise (CSE2024 SW Development Practices) | |
| * | |
| * @author juhansae | |
| * @version 2022.2 | |
| * @// Create a JUnit test class with some test methods | |
| * @// Then, refactor it to pass all the tests ! | |
| */ |
This file contains hidden or 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
| public class CodeReviewEx { | |
| public static void main(String[] args) { | |
| System.out.println("This will be printed"); | |
| } | |
| /* Q1 ~ Q6 (dayOfYear) */ | |
| public static int dayOfYear(int month, int dayOfMonth, int year) { | |
| if (month == 2) { | |
| dayOfMonth += 31; | |
| } else if (month == 3) { | |
| dayOfMonth += 59; |