cuelang.org/go@v0.10.1/pkg/math/testdata/mult.txtar (about)

     1  -- in.cue --
     2  import "math"
     3  
     4  // should be true
     5  t1: math.MultipleOf(99*99, 99)
     6  t2: math.MultipleOf(100010, 10)
     7  t3: math.MultipleOf(22, 2)
     8  t4: math.MultipleOf(11, 1)
     9  
    10  // should be false
    11  f1: math.MultipleOf(5555555, 2)
    12  f2: math.MultipleOf(100.01, 4)
    13  
    14  -- out/math --
    15  // should be true
    16  t1: true
    17  t2: true
    18  t3: true
    19  t4: true
    20  
    21  // should be false
    22  f1: false
    23  f2: false