A repository to test if text is in a rhyming form.
Simply edit (forking is fine) the "rhyme.txt" and Travis will verify that your text is a proper rhyme.
There are a few levels of rhyme:
In my personal opinion you're safe using level 1 and 2, so you can skip levels 3 and 4 by adding "skip" to the file tests/rhyme.bats:
@test "Check three letter rhyme." {
skip "I need to finish my rhyme quickly, so skipping 3 letter rhymes."
cat analysis3.txt | while read first second rest ; do
[ "$first" = "$second" ]
done
}
@test "Check four letter rhyme." {
skip "FOUR LETTER RHYMES, WHAT THE F**K."
cat analysis4.txt | while read first second rest ; do
[ "$first" = "$second" ]
done
}