TheEvergreenStateCollege / smarty-plants

Plant genome sequencing
2 stars 2 forks source link

Add a test for SuffixTree::find_substring method #9

Closed learner-long-life closed 3 weeks ago

learner-long-life commented 3 months ago

Add docstring and a test for the SuffixTree::find_substring

https://github.com/TheEvergreenStateCollege/smarty-plants/blob/main/src/data_structures/suffix_trees.rs#L234

to show what its expected use is.

learner-long-life commented 3 weeks ago

This has been tested exhaustively here by @Gavin-Bowers https://github.com/TheEvergreenStateCollege/smarty-plants/blob/cplants-init/rusty-plants/src/data_structures/suffix_tree.rs#L301