/
servlamo
/
cue
Обзор
Документация
Войти
/
servlamo
/
cue
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pkg/math/testdata/mult.txtar
23 строки
356 B
Daniel Martí
cue/format: avoid indenting a lone leading comment
14 июн 2024, 16:30
14 июн 2024, 16:30
d70f9d7
Код
Авторство
О чём код?
-- in.cue -- import "math" // should be true t1: math.MultipleOf(99*99, 99) t2: math.MultipleOf(100010, 10) t3: math.MultipleOf(22, 2) t4: math.MultipleOf(11, 1) // should be false f1: math.MultipleOf(5555555, 2) f2: math.MultipleOf(100.01, 4) -- out/math -- // should be true t1: true t2: true t3: true t4: true // should be false f1: false f2: false