btwael / superstring.py

A fast and memory-optimized string library for heavy-text manipulation in Python
MIT License
250 stars 11 forks source link

Add basic testing #6

Closed danielenricocahall closed 4 years ago

danielenricocahall commented 4 years ago

To verify functionality doesn't break as new features are added/modified, I added some Pytest testing configurations and basic tests. To execute, just run python3 -m pytest . in the project directory.

btwael commented 4 years ago

Hello, thank you for your contribution and sorry for my late reply.

While I think we should perform test also on length of concatenation, of substring... because we want to guarantee that that is correct. I guess your work is the starting point to achieve that.