File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ package codewars ;
2
+
3
+ import org .junit .jupiter .api .Test ;
4
+
1
5
import static org .junit .jupiter .api .Assertions .*;
6
+
2
7
class MumblingTest {
3
-
8
+ private static void testing (String actual , String expected ) {
9
+ assertEquals (expected , actual );
10
+ }
11
+ @ Test
12
+ public void test () {
13
+ System .out .println ("Fixed Tests accum" );
14
+ testing (Mumbling .accum ("ZpglnRxqenU" ), "Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnnnnnnn-Uuuuuuuuuuu" );
15
+ testing (Mumbling .accum ("NyffsGeyylB" ), "N-Yy-Fff-Ffff-Sssss-Gggggg-Eeeeeee-Yyyyyyyy-Yyyyyyyyy-Llllllllll-Bbbbbbbbbbb" );
16
+ testing (Mumbling .accum ("MjtkuBovqrU" ), "M-Jj-Ttt-Kkkk-Uuuuu-Bbbbbb-Ooooooo-Vvvvvvvv-Qqqqqqqqq-Rrrrrrrrrr-Uuuuuuuuuuu" );
17
+ testing (Mumbling .accum ("EvidjUnokmM" ), "E-Vv-Iii-Dddd-Jjjjj-Uuuuuu-Nnnnnnn-Oooooooo-Kkkkkkkkk-Mmmmmmmmmm-Mmmmmmmmmmm" );
18
+ testing (Mumbling .accum ("HbideVbxncC" ), "H-Bb-Iii-Dddd-Eeeee-Vvvvvv-Bbbbbbb-Xxxxxxxx-Nnnnnnnnn-Cccccccccc-Ccccccccccc" );
19
+ }
4
20
}
You can’t perform that action at this time.
0 commit comments