|
|
|
@ -112,11 +112,12 @@
|
|
|
|
|
Check.Quick results |
|
|
|
|
|
|
|
|
|
[<Property>] |
|
|
|
|
let ``RequestTextFromFile returns a string which ends with a full stop when using console-waterwork-announcement`` () = |
|
|
|
|
let ``RequestTextFromFile returns a string which ends with with the correct end-token when using console-waterwork-announcement`` () = |
|
|
|
|
let test () = |
|
|
|
|
Pancake.RequestTextFromFileAsync (ValidGibberishLevelInput()) (ValidSentencesInput()) ConsoleWaterworks |
|
|
|
|
|> Async.RunSynchronously |
|
|
|
|
let results = Assert.EndsWith(".", test()) |
|
|
|
|
|> EndsAsIntended |
|
|
|
|
let results = Assert.True(test()) |
|
|
|
|
Check.Quick results |
|
|
|
|
|
|
|
|
|
[<Property>] |
|
|
|
|