Add tests for the Python programs
Adjust 06-the-one/tf-06.py to avoid adding an extra blank line at the end, so it will pass the tests.
This commit is contained in:
25
test/pride-and-prejudice.txt
Normal file
25
test/pride-and-prejudice.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
mr - 786
|
||||
elizabeth - 635
|
||||
very - 488
|
||||
darcy - 418
|
||||
such - 395
|
||||
mrs - 343
|
||||
much - 329
|
||||
more - 327
|
||||
bennet - 323
|
||||
bingley - 306
|
||||
jane - 295
|
||||
miss - 283
|
||||
one - 275
|
||||
know - 239
|
||||
before - 229
|
||||
herself - 227
|
||||
though - 226
|
||||
well - 224
|
||||
never - 220
|
||||
sister - 218
|
||||
soon - 216
|
||||
think - 211
|
||||
now - 209
|
||||
time - 203
|
||||
good - 201
|
||||
Reference in New Issue
Block a user