| 1 | #[test] |
| 2 | fn light_showcase() { |
| 3 | let expected = "┌─┐"; |
| 4 | let actual = format!("{}{}{}", ::light::DOWN_RIGHT, ::light::HORIZONTAL, ::light::DOWN_LEFT); |
| 5 | assert_eq!(expected, actual); |
| 6 | } |
| 7 | |
| 8 | #[test] |
| 9 | fn heavy_showcase() { |
| 10 | let expected = "┏━┓"; |
| 11 | let actual = format!("{}{}{}", ::heavy::DOWN_RIGHT, ::heavy::HORIZONTAL, ::heavy::DOWN_LEFT); |
| 12 | assert_eq!(expected, actual); |
| 13 | } |
| 14 | |
| 15 | #[test] |
| 16 | fn double_showcase() { |
| 17 | let expected = "╔═╗"; |
| 18 | let actual = format!("{}{}{}", ::double::DOWN_RIGHT, ::double::HORIZONTAL, ::double::DOWN_LEFT); |
| 19 | assert_eq!(expected, actual); |
| 20 | } |
| 21 | |
| 22 | #[test] |
| 23 | fn arc_corners() { |
| 24 | let expected = "╰╯╭╮"; |
| 25 | let actual = format!("{}{}{}{}", ::arc::UP_RIGHT, ::arc::UP_LEFT, ::arc::DOWN_RIGHT, ::arc::DOWN_LEFT); |
| 26 | assert_eq!(expected, actual); |
| 27 | } |