Implemented functional ADD, FORMAT and PRINT feature. Reformat code in several files
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
public class SystemInputTest {
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
public class TextEditorTest {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class TextInputTest {
|
||||
|
||||
@Test
|
||||
public void inputTest() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,18 +1,14 @@
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class TextOutputTest {
|
||||
TextOutput textOutput;
|
||||
ArrayList<String> text;
|
||||
|
||||
@BeforeEach
|
||||
public void setup(){
|
||||
public void setup() {
|
||||
textOutput = new TextOutput();
|
||||
textOutput.formatFix(9);
|
||||
textOutput.formatRaw();
|
||||
@@ -25,10 +21,7 @@ class TextOutputTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void print(){
|
||||
textOutput.print(text);
|
||||
|
||||
public void print() {
|
||||
textOutput.print(text);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user