Skip to content

Commit 0470faf

Browse files
committed
add case test method
1 parent 6c83c8f commit 0470faf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/CaesarShiftTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44

55
class CaesarShiftTest {
66
@Test
7+
public void caesarShift_convertCase_String() {
8+
CaesarShift testCase = new CaesarShift();
9+
assertEquals("A", testCase.encrypt("a"));
10+
}
711

12+
@Test
813
public void caesarShift_encryptChar_String(){
914
CaesarShift testType = new CaesarShift();
1015
assertEquals("Y", testType.encrypt("Z"));

0 commit comments

Comments
 (0)