MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / group_results

Method group_results

crates/cli/src/wast_runner.rs:133–141  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

131 }
132
133 pub fn group_results(&self) -> Vec<GroupResult> {
134 self.0
135 .iter()
136 .map(|(name, group)| {
137 let (passed, failed) = group.stats();
138 GroupResult { name: name.clone(), file: group.file.clone(), passed, failed }
139 })
140 .collect()
141 }
142
143 fn test_group(&mut self, name: &str, file: &str) -> &mut TestGroup {
144 self.0.entry(name.to_string()).or_insert_with(|| TestGroup::new(file))

Callers 1

fmtMethod · 0.45

Calls 2

mapMethod · 0.80
statsMethod · 0.80

Tested by

no test coverage detected