Lines Matching refs:d
19 let d = q.peek().await; in test_chunk_queue() localVariable
20 assert!(d.is_none(), "should return none"); in test_chunk_queue()
25 let d = q.pop().await; in test_chunk_queue() localVariable
26 assert!(d.is_some(), "should succeed"); in test_chunk_queue()
27 if let Some(d) = d { in test_chunk_queue()
28 assert_eq!(c.to_string(), d.to_string(), "should be the same"); in test_chunk_queue()
31 let d = q.pop().await; in test_chunk_queue() localVariable
32 assert!(d.is_none(), "should fail"); in test_chunk_queue()
41 let d = q.peek().await; in test_chunk_queue() localVariable
42 assert!(d.is_some(), "should succeed"); in test_chunk_queue()
43 if let Some(d) = d { in test_chunk_queue()
44 assert_eq!(c.to_string(), d.to_string(), "should be the same"); in test_chunk_queue()