Browse Source

remove parsing colour string to brush (property) test in console tests.

master
Craig Oates 6 years ago
parent
commit
91beb35c1b
  1. 7
      TestCentre/ConsoleTests.fs

7
TestCentre/ConsoleTests.fs

@ -58,13 +58,6 @@
let ``Pen width is set greater than 0`` () =
(setPenWidth (Random().Next()) (Random().Next())) > 0.0f
[<Property>]
let ``Parsed colour matches expected colour`` () =
let expectedColour = (randomColourString ())
let brush = parseColour (expectedColour)
let convertedBrush = ((brush :?> SolidBrush).Color.Name.ToLower())
convertedBrush = expectedColour
[<Property>]
let ``Can build the intended default image specification`` () =
let defaultSpec =

Loading…
Cancel
Save