@Test
public void testBold() throws IOException {
assertThat(colorize("1mhello world"), is("hello world"));
}
@Test
public void testItalics() throws IOException {
assertThat(colorize("3mhello world"), is("hello world"));
}
@Test
public void testUnderline() throws IOException {
assertThat(colorize("4mhello world"), is("hello world"));
}
@Test
public void testStrikethrough() throws IOException {
assertThat(colorize("9mhello world"), is("hello world"));
}
@Test
public void testBlack() throws IOException {
assertThat(colorize("30mhello world"), is("hello world"));
}
@Test
public void testRed() throws IOException {
assertThat(colorize("31mhello world"), is("hello world"));
}
@Test
public void testGreen() throws IOException {
assertThat(colorize("32mhello world"), is("hello world"));
}
@Test
public void testYellow() throws IOException {
assertThat(colorize("33mhello world"), is("hello world"));
}
@Test
public void testBlue() throws IOException {
assertThat(colorize("34mhello world"), is("hello world"));
}
@Test
public void testMagenta() throws IOException {
assertThat(colorize("35mhello world"), is("hello world"));
}
@Test
public void testCyan() throws IOException {
assertThat(colorize("36mhello world"), is("hello world"));
}
@Test
public void testWhite() throws IOException {
assertThat(colorize("37mhello world"), is("hello world"));
}
@Test
public void testBackgroundBlack() throws IOException {
assertThat(colorize("40mhello world"), is("hello world"));
}
@Test
public void testBackgroundRed() throws IOException {
assertThat(colorize("41mhello world"), is("hello world"));
}
@Test
public void testBackgroundGreen() throws IOException {
assertThat(colorize("42mhello world"), is("hello world"));
}
@Test
public void testBackgroundYellow() throws IOException {
assertThat(colorize("43mhello world"), is("hello world"));
}
@Test
public void testBackgroundBlue() throws IOException {
assertThat(colorize("44mhello world"), is("hello world"));
}
@Test
public void testBackgroundMagenta() throws IOException {
assertThat(colorize("45mhello world"), is("hello world"));
}
@Test
public void testBackgroundCyan() throws IOException {
assertThat(colorize("46mhello world"), is("hello world"));
}
@Test
public void testBackgroundWhite() throws IOException {
assertThat(colorize("47mhello world"), is("hello world"));
}