github.com/solo-io/cue@v0.4.7/cue/testdata/resolve/007_inequality.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 #name: inequality 4 #evalPartial 5 -- in.cue -- 6 a: 1 != 2 7 b: 1 != null 8 c: true == null 9 d: null != {} 10 e: null == [] 11 f: 0 == 0.0 // types are unified first TODO: make this consistent 12 -- out/def -- 13 a: true 14 b: true 15 c: false 16 d: true 17 e: false 18 f: true 19 -- out/export -- 20 a: true 21 b: true 22 c: false 23 d: true 24 e: false 25 f: true 26 -- out/yaml -- 27 a: true 28 b: true 29 c: false 30 d: true 31 e: false 32 f: 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 -- 48 (struct){ 49 a: (bool){ true } 50 b: (bool){ true } 51 c: (bool){ false } 52 d: (bool){ true } 53 e: (bool){ false } 54 f: (bool){ true } 55 }