-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathMainTest.java
More file actions
43 lines (32 loc) · 829 Bytes
/
MainTest.java
File metadata and controls
43 lines (32 loc) · 829 Bytes
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
import org.junit.Assert;
import org.junit.Test;
public class MainTest {
Main test = new Main();
@Test
public void findAlphaTest() {
String look = test.findAlphabetCharacters();
System.out.println(look);
}
@Test
public void formatTest() {
String look = test.formatting();
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.correctBySemicolon();
System.out.println(look);
}
}