Sha256: 0c9301d8bf67978dc2ed6721d82aea9fc2ea8189ab0a9b8e3d2c232f045f2c61
Contents?: true
Size: 885 Bytes
Versions: 80
Compression:
Stored size: 885 Bytes
Contents
// This file was created manually and its version is 1.0.0. module RobotNameTest open Xunit open FsUnit.Xunit open System.Text.RegularExpressions open RobotName [<Fact>] let ``Robot has a name`` () = let robot = mkRobot() Regex.IsMatch(name robot, @"\w{2}\d{3}") |> should equal true [<Fact(Skip = "Remove to run test")>] let ``Name is the same each time`` () = let robot = mkRobot() name robot |> should equal (name robot) [<Fact(Skip = "Remove to run test")>] let ``Different robots have different names`` () = let robot = mkRobot() let robot2 = mkRobot() name robot |> should not' (equal (name robot2)) [<Fact(Skip = "Remove to run test")>] let ``Can reset the name`` () = let robot = mkRobot() let originalName = name robot let resetRobot = reset robot originalName |> should not' (equal (name resetRobot))
Version data entries
80 entries across 80 versions & 1 rubygems