jay-compositor 1.15.0

The Jay compositor
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::utils::spaces::spaces;

#[test]
fn test() {
    assert_eq!(spaces(0).to_string(), "");
    assert_eq!(spaces(1).to_string(), " ");
    assert_eq!(spaces(2).to_string(), "  ");
    assert_eq!(spaces(2).to_string(), "  ");
    assert_eq!(spaces(3).to_string(), "   ");
    assert_eq!(spaces(2).to_string(), "  ");
    assert_eq!(spaces(1).to_string(), " ");
    assert_eq!(spaces(0).to_string(), "");
}