Add app (#4)
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/all-checks-complete Pipeline was successful

Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk>
Reviewed-on: #4
This commit is contained in:
2023-09-08 23:31:01 +00:00
parent 3e3d092c27
commit 4070001e55
15 changed files with 6200 additions and 20 deletions

View File

@@ -12,11 +12,13 @@ module TestEndToEnd =
end
[<TestCase "example1.json">]
[<TestCase "CapitalsOfTheWorld.json">]
let ``End-to-end test of example1.json`` (fileName : string) =
let assembly = typeof<Dummy>.Assembly
let json = Utils.readResource assembly fileName
let collection, notes = JsonCollection.deserialise json |> JsonCollection.toInternal
let collection, notes =
JsonCollection.deserialiseString json |> JsonCollection.toInternal
let outputFile =
Path.GetTempFileName ()