diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-07 14:32:35 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-07 16:19:51 +0200 |
| commit | 1192132dc0a9e991953fd29e93f87c8437a53ea0 (patch) | |
| tree | 67061e75a5a15c7997a3ac2de349b5e9ce234434 /tests/typ/code/ops.typ | |
| parent | eb22eed31b08874fbbbee68d2ae59f0d02f9e95d (diff) | |
Rename length-related types
`Fractional` => `Fraction`
`Relative` => `Ratio`
`Linear` => `Relative`
Diffstat (limited to 'tests/typ/code/ops.typ')
| -rw-r--r-- | tests/typ/code/ops.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/ops.typ b/tests/typ/code/ops.typ index 79743f5d..b5a4d8d4 100644 --- a/tests/typ/code/ops.typ +++ b/tests/typ/code/ops.typ @@ -63,14 +63,14 @@ test(v + v, 2.0 * v) } - // Linears cannot be divided by themselves. + // Relative lengths cannot be divided by themselves. if type(v) != "relative length" { test(v / v, 1.0) test(v / v == 1, true) } } -// Make sure length, relative and linear +// Make sure length, ratio and relative length // - can all be added to / subtracted from each other, // - multiplied with integers and floats, // - divided by floats. |
