File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,10 @@ mod tests {
223
223
let ( width, height) = ( 200 , 200 ) ;
224
224
225
225
let dims = ( width, height) ;
226
+ eprintln ! ( "Generating Mandelbrot fractal" ) ;
226
227
let mb = Mandelbrot :: generate ( dims, algo) ;
227
228
229
+ eprintln ! ( "Outputting B/W image to a buffer" ) ;
228
230
let out = {
229
231
let mut out = Vec :: with_capacity ( width * height) ;
230
232
mb. output_pbm ( & mut out) . unwrap ( ) ;
@@ -233,6 +235,7 @@ mod tests {
233
235
234
236
assert_eq ! ( out. len( ) , OUTPUT . len( ) ) ;
235
237
238
+ eprintln ! ( "Comparing output with expected output" ) ;
236
239
if out != OUTPUT {
237
240
out. into_iter ( ) . zip ( OUTPUT . into_iter ( ) ) . enumerate ( ) . for_each (
238
241
|( i, ( a, & b) ) | {
@@ -253,6 +256,7 @@ mod tests {
253
256
254
257
#[ test]
255
258
fn verify_output_simd ( ) {
259
+ eprintln ! ( "Running SIMD algorithm test" ) ;
256
260
verify_algo ( Algorithm :: Simd ) ;
257
261
}
258
262
}
You can’t perform that action at this time.
0 commit comments