AmaranthineCodices / chrysanthemum

A content filtration bot for Discord.
3 stars 2 forks source link

Refactor for increased unit test coverage #22

Closed AmaranthineCodices closed 2 years ago

AmaranthineCodices commented 2 years ago

A very large refactor that enables more unit tests to be written for Chrysanthemum logic. This moves more code out of main.rs and into separate modules in a unit testable fashion. We can now test: