Lines Matching refs:assert_eq

66     assert_eq!(HITS.load(SeqCst), 0);  in drop_func()
75 assert_eq!(HITS.load(SeqCst), 1); in drop_func()
79 assert_eq!(HITS.load(SeqCst), 2); in drop_func()
105 assert_eq!(HITS.load(SeqCst), 0); in drop_delayed()
115 assert_eq!(HITS.load(SeqCst), 0); in drop_delayed()
123 assert_eq!(HITS.load(SeqCst), 0); in drop_delayed()
127 assert_eq!(HITS.load(SeqCst), 1); in drop_delayed()
170 assert_eq!(f.ty(&store).params().len(), 0); in signatures_match()
171 assert_eq!(f.ty(&store).results().len(), 0); in signatures_match()
178 assert_eq!(f.ty(&store).params().len(), 0); in signatures_match()
179 assert_eq!(f.ty(&store).results().len(), 1); in signatures_match()
187 assert_eq!(f.ty(&store).params().len(), 0); in signatures_match()
188 assert_eq!(f.ty(&store).results().len(), 1); in signatures_match()
196 assert_eq!(f.ty(&store).params().len(), 0); in signatures_match()
197 assert_eq!(f.ty(&store).results().len(), 1); in signatures_match()
205 assert_eq!(f.ty(&store).params().len(), 0); in signatures_match()
206 assert_eq!(f.ty(&store).results().len(), 1); in signatures_match()
215 assert_eq!(f.ty(&store).params().len(), 7); in signatures_match()
224 assert_eq!(f.ty(&store).results().len(), 1); in signatures_match()
267 assert_eq!(HITS.fetch_add(1, SeqCst), 0); in import_works()
271 assert_eq!(x, 0); in import_works()
272 assert_eq!(HITS.fetch_add(1, SeqCst), 1); in import_works()
277 assert_eq!(x, 2); in import_works()
278 assert_eq!(y, 3); in import_works()
279 assert_eq!(HITS.fetch_add(1, SeqCst), 2); in import_works()
293 assert_eq!(a, 100); in import_works()
294 assert_eq!(b, 200); in import_works()
295 assert_eq!(c, 300); in import_works()
296 assert_eq!(d, 400.0); in import_works()
297 assert_eq!(e, 500.0); in import_works()
298 assert_eq!( in import_works()
313 assert_eq!(results[0].unwrap_i32(), 42); in import_works()
314 assert_eq!(HITS.fetch_add(1, SeqCst), 3); in import_works()
327 assert_eq!(HITS.load(SeqCst), 4); in import_works()
370 assert_eq!(x1, 1); in call_import_many_args()
371 assert_eq!(x2, 2); in call_import_many_args()
372 assert_eq!(x3, 3); in call_import_many_args()
373 assert_eq!(x4, 4); in call_import_many_args()
374 assert_eq!(x5, 5); in call_import_many_args()
375 assert_eq!(x6, 6); in call_import_many_args()
376 assert_eq!(x7, 7); in call_import_many_args()
377 assert_eq!(x8, 8); in call_import_many_args()
378 assert_eq!(x9, 9); in call_import_many_args()
379 assert_eq!(x10, 10); in call_import_many_args()
550 assert_eq!(a, 1); in call_wrapped_func()
551 assert_eq!(b, 2); in call_wrapped_func()
552 assert_eq!(c, 3.0); in call_wrapped_func()
553 assert_eq!(d, 4.0); in call_wrapped_func()
585 assert_eq!(results[0].unwrap_i32(), 1); in call_wrapped_func()
586 assert_eq!(f.typed::<(), i32>(&store)?.call(&mut store, ())?, 1); in call_wrapped_func()
594 assert_eq!(results[0].unwrap_i64(), 2); in call_wrapped_func()
595 assert_eq!(f.typed::<(), i64>(&store)?.call(&mut store, ())?, 2); in call_wrapped_func()
603 assert_eq!(results[0].unwrap_f32(), 3.0); in call_wrapped_func()
604 assert_eq!(f.typed::<(), f32>(&store)?.call(&mut store, ())?, 3.0); in call_wrapped_func()
612 assert_eq!(results[0].unwrap_f64(), 4.0); in call_wrapped_func()
613 assert_eq!(f.typed::<(), f64>(&store)?.call(&mut store, ())?, 4.0); in call_wrapped_func()
679 assert_eq!(results[0].unwrap_i32(), 7); in call_via_funcref()
685 assert_eq!(results[0].unwrap_i32(), 3); in call_via_funcref()
688 assert_eq!(HITS.load(SeqCst), 0); in call_via_funcref()
692 assert_eq!(HITS.load(SeqCst), 0); in call_via_funcref()
696 assert_eq!(HITS.load(SeqCst), 1); in call_via_funcref()
750 assert_eq!(exit.0, 123); in wasi_imports()