mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
behavior tests: a picas reader reads 1pt+12 as thirteen points, as its bare 12 reads one pica
This commit is contained in:
@@ -281,7 +281,7 @@ mod tests {
|
||||
|
||||
let picas = Reader::new().bare(1.0 / 12.0).unit("pt", 1.0 / 12.0).unit("pc", 1.0);
|
||||
near(&picas, "12", 1.0);
|
||||
near(&picas, "1pt+12", 2.0 / 12.0);
|
||||
near(&picas, "1pt+12", 13.0 / 12.0);
|
||||
near(&picas, "1pc+12", 2.0);
|
||||
near(&picas, "12*2", 2.0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user