-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathMainTest.java
More file actions
53 lines (41 loc) · 1.04 KB
/
MainTest.java
File metadata and controls
53 lines (41 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import org.junit.Assert;
import org.junit.Test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class MainTest {
Main test = new Main();
@Test
public void findAlphaTest() {
String look = test.findAlphabetCharacters();
System.out.println(look);
}
@Test
public void formatTest() {
String input = new String();
String look = test.getList(input);
System.out.println(look);
}
@Test
public void findMilkTest(){
int actual = test.countMilk();
int expected = 8;
Assert.assertEquals(expected, actual);
}
@Test
public void correctSeparatorTest(){
String look = test.correctSeparator();
System.out.println(look);
}
@Test
public void correctAndSeparateTest(){
String look = test.separateBySemicolon();
System.out.println(look);
}
@Test
public void printTest(){
System.out.println(test.doingFormatting());
}
@Test
public void nameChangeTest(){
}
}