...

Text file src/cuelang.org/go/cue/testdata/resolve/007_inequality.txtar

Documentation: cuelang.org/go/cue/testdata/resolve

     1# DO NOT EDIT; generated by go run testdata/gen.go
     2#
     3#name: inequality
     4#evalPartial
     5-- in.cue --
     6a: 1 != 2
     7b: 1 != null
     8c: true == null
     9d: null != {}
    10e: null == []
    11f: 0 == 0.0 // types are unified first TODO: make this consistent
    12-- out/def --
    13a: true
    14b: true
    15c: false
    16d: true
    17e: false
    18f: true
    19-- out/export --
    20a: true
    21b: true
    22c: false
    23d: true
    24e: false
    25f: true
    26-- out/yaml --
    27a: true
    28b: true
    29c: false
    30d: true
    31e: false
    32f: true
    33-- out/json --
    34{"a":true,"b":true,"c":false,"d":true,"e":false,"f":true}
    35-- out/legacy-debug --
    36<0>{a: true, b: true, c: false, d: true, e: false, f: true}
    37-- out/compile --
    38--- in.cue
    39{
    40  a: (1 != 2)
    41  b: (1 != null)
    42  c: (true == null)
    43  d: (null != {})
    44  e: (null == [])
    45  f: (0 == 0.0)
    46}
    47-- out/eval/stats --
    48Leaks:  2
    49Freed:  7
    50Reused: 5
    51Allocs: 4
    52Retain: 2
    53
    54Unifications: 9
    55Conjuncts:    9
    56Disjuncts:    9
    57-- out/eval --
    58(struct){
    59  a: (bool){ true }
    60  b: (bool){ true }
    61  c: (bool){ false }
    62  d: (bool){ true }
    63  e: (bool){ false }
    64  f: (bool){ true }
    65}

View as plain text