Skip to content

Commit

Permalink
[prakriya] Greatly increase Unadipatha coverage
Browse files Browse the repository at this point in the history
This commit substantially increases our support for the Unadipatha and
increases the size of our Unadipatha test suite to 500 passing tests. In
addition, I updated some of our documentation and doctests to be more
thorough and accurate.
  • Loading branch information
akprasad committed Jan 1, 2024
1 parent 471a5d1 commit c9b6a02
Show file tree
Hide file tree
Showing 26 changed files with 6,587 additions and 468 deletions.
3 changes: 2 additions & 1 deletion vidyut-prakriya/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ for p in prakriyas {
println!("{}", p.text());
println!("---------------------------");
for step in p.history() {
let result: String = step.result().join(" + ");
let terms: Vec<_> = step.result().iter().map(|x| x.text()).filter(|x| !x.is_empty()).collect();
let result = terms.join(" + ");
println!("{:<10} | {}", step.rule().code(), result);
}
println!("---------------------------");
Expand Down
Loading

0 comments on commit c9b6a02

Please sign in to comment.