cgiffard / TextStatistics.js

Generate information about text including syllable counts and Flesch-Kincaid, Gunning-Fog, Coleman-Liau, SMOG and Automated Readability scores.
MIT License
191 stars 37 forks source link

Added tests #6

Closed rabidaudio closed 7 years ago

rabidaudio commented 9 years ago

I went ahead and ported some of the tests from https://github.com/DaveChild/Text-Statistics/tree/master/tests. Naturally, many of them are failing.

I will probably look into fixing the issues for use on another project of mine. I can send PRs if you like, but I don't want to hack on your code without some go-ahead first. :)

cgiffard commented 7 years ago

Thanks for submitting a PR — sorry I neglected it for so long! :(

A test scaffold was added in #13, so I'll look to integrating these into that.