Skip to content

Commit bbeacb7

Browse files
Tests added
1 parent b35cb37 commit bbeacb7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/Plotly.NET.ImageExport.Tests/ImageExport.fs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,14 @@ let ``Image export tests`` =
4848
testBase64PNG
4949
"Invalid base64 string for Chart.toBase64PNGStringAsync"
5050
}
51-
testCase "Chart.toBase64JPGString" <| fun () ->
51+
testCase "Chart.toBase64JPGString terminates" <| fun () ->
5252
let actual = Chart.Point([1.,1.]) |> Chart.toBase64JPGString()
5353
Expect.isTrue (actual.Length > 100) ""
54-
54+
testCase "Chart.toBase64PNGString terminates" <| fun () ->
55+
let actual = Chart.Point([1.,1.]) |> Chart.toBase64PNGString()
56+
Expect.isTrue (actual.Length > 100) ""
57+
testCase "Chart.toSVGString terminates" <| fun () ->
58+
let actual = Chart.Point([1.,1.]) |> Chart.toSVGString()
59+
Expect.isTrue (actual.Length > 100) ""
5560
]
5661
)

0 commit comments

Comments
 (0)