source: tests/array-collections/.expect/boxed.txt @ 1c957a11

Last change on this file since 1c957a11 was fd4df379, checked in by Michael Brooks <mlbrooks@…>, 4 months ago

Implement boxing for arrays.

The added test is things that did not work before.

  • Property mode set to 100644
File size: 12.1 KB
RevLine 
[fd4df379]1------- 1a (singleton): T x[1], expecting T=short, got sizeof(T)=2, expecting 2-byte elems
2Delta 0--1 expected 2 bytes, actual 2 bytes
3Delta 1--2 expected 2 bytes, actual 2 bytes
4Delta 0--2 expected 4 bytes, actual 4 bytes
5Delta 0--n expected 2 bytes, actual 2 bytes
6array starts after lo bookend: yes
7array ends before hi bookend: yes
8------- 1b (singleton): T x[1], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
9Delta 0--1 expected 40 bytes, actual 40 bytes
10Delta 1--2 expected 40 bytes, actual 40 bytes
11Delta 0--2 expected 80 bytes, actual 80 bytes
12Delta 0--n expected 40 bytes, actual 40 bytes
13array starts after lo bookend: yes
14array ends before hi bookend: yes
15------- 2a (general): T x[42], expecting T=char, got sizeof(T)=1, expecting 1-byte elems
16Delta 0--1 expected 1 bytes, actual 1 bytes
17Delta 1--2 expected 1 bytes, actual 1 bytes
18Delta 0--2 expected 2 bytes, actual 2 bytes
19Delta 0--n expected 42 bytes, actual 42 bytes
20array starts after lo bookend: yes
21array ends before hi bookend: yes
22------- 2b (general): T x[42], expecting T=float, got sizeof(T)=4, expecting 4-byte elems
23Delta 0--1 expected 4 bytes, actual 4 bytes
24Delta 1--2 expected 4 bytes, actual 4 bytes
25Delta 0--2 expected 8 bytes, actual 8 bytes
26Delta 0--n expected 168 bytes, actual 168 bytes
27array starts after lo bookend: yes
28array ends before hi bookend: yes
29------- 2c (general): T x[42], expecting T=long long, got sizeof(T)=8, expecting 8-byte elems
30Delta 0--1 expected 8 bytes, actual 8 bytes
31Delta 1--2 expected 8 bytes, actual 8 bytes
32Delta 0--2 expected 16 bytes, actual 16 bytes
33Delta 0--n expected 336 bytes, actual 336 bytes
34array starts after lo bookend: yes
35array ends before hi bookend: yes
36------- 2d (general): T x[42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
37Delta 0--1 expected 40 bytes, actual 40 bytes
38Delta 1--2 expected 40 bytes, actual 40 bytes
39Delta 0--2 expected 80 bytes, actual 80 bytes
40Delta 0--n expected 1680 bytes, actual 1680 bytes
41array starts after lo bookend: yes
42array ends before hi bookend: yes
43------- 3a (user VLA): T x[n], got n=1, expecting T=int, got sizeof(T)=4, expecting 4-byte elems
44Delta 0--1 expected 4 bytes, actual 4 bytes
45Delta 1--2 expected 4 bytes, actual 4 bytes
46Delta 0--2 expected 8 bytes, actual 8 bytes
47Delta 0--n expected 4 bytes, actual 4 bytes
48array starts after lo bookend: yes
49array ends before hi bookend: yes
50------- 3b (user VLA): T x[n], got n=42, expecting T=int, got sizeof(T)=4, expecting 4-byte elems
51Delta 0--1 expected 4 bytes, actual 4 bytes
52Delta 1--2 expected 4 bytes, actual 4 bytes
53Delta 0--2 expected 8 bytes, actual 8 bytes
54Delta 0--n expected 168 bytes, actual 168 bytes
55array starts after lo bookend: yes
56array ends before hi bookend: yes
57------- 3c (user VLA): T x[n], got n=1, expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
58Delta 0--1 expected 40 bytes, actual 40 bytes
59Delta 1--2 expected 40 bytes, actual 40 bytes
60Delta 0--2 expected 80 bytes, actual 80 bytes
61Delta 0--n expected 40 bytes, actual 40 bytes
62array starts after lo bookend: yes
63array ends before hi bookend: yes
64------- 3d (user VLA): T x[n], got n=42, expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
65Delta 0--1 expected 40 bytes, actual 40 bytes
66Delta 1--2 expected 40 bytes, actual 40 bytes
67Delta 0--2 expected 80 bytes, actual 80 bytes
68Delta 0--n expected 1680 bytes, actual 1680 bytes
69array starts after lo bookend: yes
70array ends before hi bookend: yes
71------- 4a (2-dimensional): T x[42][42], expecting T=char, got sizeof(T)=1, expecting 1-byte atoms
72Delta 0,0--0,1 expected 1 bytes, actual 1 bytes
73Delta 0,1--0,2 expected 1 bytes, actual 1 bytes
74Delta 0,0--0,2 expected 2 bytes, actual 2 bytes
75Delta 0,0--0,n expected 42 bytes, actual 42 bytes
76Delta 0,0--1,0 expected 42 bytes, actual 42 bytes
77Delta 1,0--2,0 expected 42 bytes, actual 42 bytes
78Delta 0,0--2,0 expected 84 bytes, actual 84 bytes
79Delta 0,0--n,0 expected 1764 bytes, actual 1764 bytes
80Delta 0,0--n,n expected 1806 bytes, actual 1806 bytes
81array starts after lo bookend: yes
82array ends before hi bookend: yes
83------- 4b (2-dimensional): T x[42][42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte atoms
84Delta 0,0--0,1 expected 40 bytes, actual 40 bytes
85Delta 0,1--0,2 expected 40 bytes, actual 40 bytes
86Delta 0,0--0,2 expected 80 bytes, actual 80 bytes
87Delta 0,0--0,n expected 1680 bytes, actual 1680 bytes
88Delta 0,0--1,0 expected 1680 bytes, actual 1680 bytes
89Delta 1,0--2,0 expected 1680 bytes, actual 1680 bytes
90Delta 0,0--2,0 expected 3360 bytes, actual 3360 bytes
91Delta 0,0--n,0 expected 70560 bytes, actual 70560 bytes
92Delta 0,0--n,n expected 72240 bytes, actual 72240 bytes
93array starts after lo bookend: yes
94array ends before hi bookend: yes
95------- 5a (pair): pair(T,T) x[42], expecting T=double, got sizeof(T)=8, expecting 16-byte atoms
96Delta 0--1 expected 16 bytes, actual 16 bytes
97Delta 1--2 expected 16 bytes, actual 16 bytes
98Delta 0--2 expected 32 bytes, actual 32 bytes
99Delta 0--n expected 672 bytes, actual 672 bytes
100array starts after lo bookend: yes
101array ends before hi bookend: yes
102------- 5b (pair): pair(T,T) x[42], expecting T=bigun, got sizeof(T)=40, expecting 80-byte atoms
103Delta 0--1 expected 80 bytes, actual 80 bytes
104Delta 1--2 expected 80 bytes, actual 80 bytes
105Delta 0--2 expected 160 bytes, actual 160 bytes
106Delta 0--n expected 3360 bytes, actual 3360 bytes
107array starts after lo bookend: yes
108array ends before hi bookend: yes
109------- 6a (raii): T x[42], expecting T=my_mgd_t, got sizeof(T)=4, expecting 4-byte elems
110ctor call 0 targets first + 0 bytes
111ctor call 1 targets first + 4 bytes
112ctor call 40 targets first + 160 bytes
113ctor call 41 targets first + 164 bytes
114dtor call 0 targets first - 0 bytes
115dtor call 1 targets first - 4 bytes
116dtor call 40 targets first - 160 bytes
117dtor call 41 targets first - 164 bytes
118dtor lo off by 0 bytes, hi off by 0 bytes
119array starts after lo bookend: yes
120array ends before hi bookend: yes
121------- 7a (communication, poly-poly direct, by param T[]): T x[42], expecting T=char, got sizeof(T)=1, expecting 1-byte elems
122Delta 0--1 expected 1 bytes, actual 1 bytes
123Delta 1--2 expected 1 bytes, actual 1 bytes
124Delta 0--2 expected 2 bytes, actual 2 bytes
125Delta 0--n expected 42 bytes, actual 42 bytes
126array starts after lo bookend: yes
127array ends before hi bookend: yes
128------- 7b (communication, poly-poly direct, by param T[]): T x[42], expecting T=float, got sizeof(T)=4, expecting 4-byte elems
129Delta 0--1 expected 4 bytes, actual 4 bytes
130Delta 1--2 expected 4 bytes, actual 4 bytes
131Delta 0--2 expected 8 bytes, actual 8 bytes
132Delta 0--n expected 168 bytes, actual 168 bytes
133array starts after lo bookend: yes
134array ends before hi bookend: yes
135------- 7c (communication, poly-poly direct, by param T[]): T x[42], expecting T=long long, got sizeof(T)=8, expecting 8-byte elems
136Delta 0--1 expected 8 bytes, actual 8 bytes
137Delta 1--2 expected 8 bytes, actual 8 bytes
138Delta 0--2 expected 16 bytes, actual 16 bytes
139Delta 0--n expected 336 bytes, actual 336 bytes
140array starts after lo bookend: yes
141array ends before hi bookend: yes
142------- 7d (communication, poly-poly direct, by param T[]): T x[42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
143Delta 0--1 expected 40 bytes, actual 40 bytes
144Delta 1--2 expected 40 bytes, actual 40 bytes
145Delta 0--2 expected 80 bytes, actual 80 bytes
146Delta 0--n expected 1680 bytes, actual 1680 bytes
147array starts after lo bookend: yes
148array ends before hi bookend: yes
149------- 8a (communication, poly-poly direct, by param T(*)[*]): T x[42], expecting T=double, got sizeof(T)=8, expecting 8-byte elems
150Delta 0--1 expected 8 bytes, actual 8 bytes
151Delta 1--2 expected 8 bytes, actual 8 bytes
152Delta 0--2 expected 16 bytes, actual 16 bytes
153Delta 0--n expected 336 bytes, actual 336 bytes
154array starts after lo bookend: yes
155array ends before hi bookend: yes
156------- 9a (communication, poly-poly assertion, by param T[]): T x[42], expecting T=char, got sizeof(T)=1, expecting 1-byte elems
157Delta 0--1 expected 1 bytes, actual 1 bytes
158Delta 1--2 expected 1 bytes, actual 1 bytes
159Delta 0--2 expected 2 bytes, actual 2 bytes
160Delta 0--n expected 42 bytes, actual 42 bytes
161array starts after lo bookend: yes
162array ends before hi bookend: yes
163------- 9b (communication, poly-poly assertion, by param T[]): T x[42], expecting T=float, got sizeof(T)=4, expecting 4-byte elems
164Delta 0--1 expected 4 bytes, actual 4 bytes
165Delta 1--2 expected 4 bytes, actual 4 bytes
166Delta 0--2 expected 8 bytes, actual 8 bytes
167Delta 0--n expected 168 bytes, actual 168 bytes
168array starts after lo bookend: yes
169array ends before hi bookend: yes
170------- 9c (communication, poly-poly assertion, by param T[]): T x[42], expecting T=long long, got sizeof(T)=8, expecting 8-byte elems
171Delta 0--1 expected 8 bytes, actual 8 bytes
172Delta 1--2 expected 8 bytes, actual 8 bytes
173Delta 0--2 expected 16 bytes, actual 16 bytes
174Delta 0--n expected 336 bytes, actual 336 bytes
175array starts after lo bookend: yes
176array ends before hi bookend: yes
177------- 9d (communication, poly-poly assertion, by param T[]): T x[42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
178Delta 0--1 expected 40 bytes, actual 40 bytes
179Delta 1--2 expected 40 bytes, actual 40 bytes
180Delta 0--2 expected 80 bytes, actual 80 bytes
181Delta 0--n expected 1680 bytes, actual 1680 bytes
182array starts after lo bookend: yes
183array ends before hi bookend: yes
184------- 10a (communication, poly-poly assertion, by param T(*)[*]): T x[42], expecting T=double, got sizeof(T)=8, expecting 8-byte elems
185Delta 0--1 expected 8 bytes, actual 8 bytes
186Delta 1--2 expected 8 bytes, actual 8 bytes
187Delta 0--2 expected 16 bytes, actual 16 bytes
188Delta 0--n expected 336 bytes, actual 336 bytes
189array starts after lo bookend: yes
190array ends before hi bookend: yes
191------- 11a (communication, poly-mono assertion, by param T[]): T x[42], expecting T=char, got sizeof(T)=1, expecting 1-byte elems
192Delta 0--1 expected 1 bytes, actual 1 bytes
193Delta 1--2 expected 1 bytes, actual 1 bytes
194Delta 0--2 expected 2 bytes, actual 2 bytes
195Delta 0--n expected 42 bytes, actual 42 bytes
196array starts after lo bookend: yes
197array ends before hi bookend: yes
198------- 11b (communication, poly-mono assertion, by param T[]): T x[42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
199Delta 0--1 expected 40 bytes, actual 40 bytes
200Delta 1--2 expected 40 bytes, actual 40 bytes
201Delta 0--2 expected 80 bytes, actual 80 bytes
202Delta 0--n expected 1680 bytes, actual 1680 bytes
203array starts after lo bookend: yes
204array ends before hi bookend: yes
205------- 12a (communication, poly-mono assertion, by param T(*)[*]): T x[42], expecting T=double, got sizeof(T)=8, expecting 8-byte elems
206Delta 0--1 expected 8 bytes, actual 8 bytes
207Delta 1--2 expected 8 bytes, actual 8 bytes
208Delta 0--2 expected 16 bytes, actual 16 bytes
209Delta 0--n expected 336 bytes, actual 336 bytes
210array starts after lo bookend: yes
211array ends before hi bookend: yes
212------- 13a (communication, mono-poly direct, by param T[]): char x[42], expecting 1-byte elems
213Delta 0--1 expected 1 bytes, actual 1 bytes
214Delta 1--2 expected 1 bytes, actual 1 bytes
215Delta 0--2 expected 2 bytes, actual 2 bytes
216Delta 0--n expected 42 bytes, actual 42 bytes
217array starts after lo bookend: yes
218array ends before hi bookend: yes
219------- 13b (communication, mono-poly direct, by param T[]): bigun x[42], expecting 40-byte elems
220Delta 0--1 expected 40 bytes, actual 40 bytes
221Delta 1--2 expected 40 bytes, actual 40 bytes
222Delta 0--2 expected 80 bytes, actual 80 bytes
223Delta 0--n expected 1680 bytes, actual 1680 bytes
224array starts after lo bookend: yes
225array ends before hi bookend: yes
226------- 13a (communication, mono-poly direct, by param T(*)[*]): double x[42], expecting 8-byte elems
227Delta 0--1 expected 8 bytes, actual 8 bytes
228Delta 1--2 expected 8 bytes, actual 8 bytes
229Delta 0--2 expected 16 bytes, actual 16 bytes
230Delta 0--n expected 336 bytes, actual 336 bytes
231array starts after lo bookend: yes
232array ends before hi bookend: yes
233------- 15a (operators): T x[42], expecting T=char, got sizeof(T)=1, expecting 1-byte elems
234?[?] rev off by 0
235?+? off by 0
236?+? rev off by 0
237?+=? off by 0
238?-=? off by 0
239?-? +ve off by 0
240bookends were not set
241------- 15b (operators): T x[42], expecting T=bigun, got sizeof(T)=40, expecting 40-byte elems
242?[?] rev off by 0
243?+? off by 0
244?+? rev off by 0
245?+=? off by 0
246?-=? off by 0
247?-? +ve off by 0
248bookends were not set
Note: See TracBrowser for help on using the repository browser.