@@ -7,17 +7,17 @@ for (buf, newbuf, newvals) in [
77 # standard operation
88 ([1.0 , 2.0 , 3.0 ], [2.0 , 3.0 , 4.0 ], Dict (:x => 2.0 , :y => 3.0 , :z => 4.0 )),
99 # buffer type "demotion"
10- ([1.0 , 2.0 , 3.0 ], [2 , 3 , 4 ], Dict (:x => 2 , :y => 3 , :z => 4 )),
10+ ([1.0 , 2.0 , 3.0 ], [2 , 2 , 3 ], Dict (:x => 2 )),
1111 # buffer type promotion
12- ([1 , 2 , 3 ], [2.0 , 3 .0 , 4 .0 ], Dict (:x => 2.0 , :y => 3.0 , :z => 4 .0 )),
12+ ([1 , 2 , 3 ], [2.0 , 2 .0 , 3 .0 ], Dict (:x => 2.0 )),
1313 # value type promotion
1414 ([1 , 2 , 3 ], [2.0 , 3.0 , 4.0 ], Dict (:x => 2 , :y => 3.0 , :z => 4.0 )),
1515 # standard operation
1616 ([1.0 , 2.0 , 3.0 ], [2.0 , 3.0 , 4.0 ], Dict (:a => 2.0 , :b => 3.0 , :c => 4.0 )),
1717 # buffer type "demotion"
18- ([1.0 , 2.0 , 3.0 ], [2 , 3 , 4 ], Dict (:a => 2 , :b => 3 , :c => 4 )),
18+ ([1.0 , 2.0 , 3.0 ], [2 , 2 , 3 ], Dict (:a => 2 )),
1919 # buffer type promotion
20- ([1 , 2 , 3 ], [2.0 , 3 .0 , 4 .0 ], Dict (:a => 2.0 , :b => 3.0 , :c => 4 .0 )),
20+ ([1 , 2 , 3 ], [2.0 , 2 .0 , 3 .0 ], Dict (:a => 2.0 )),
2121 # value type promotion
2222 ([1 , 2 , 3 ], [2 , 3.0 , 4.0 ], Dict (:a => 2 , :b => 3.0 , :c => 4.0 ))
2323]
0 commit comments