public void TestLiteralBoolean() { InputString @true = "true"; InputString @false = "false"; InputString notbool = "Dog"; Assert.AreEqual(true, Literal.Boolean()(@true).Value); Assert.AreEqual(false, Literal.Boolean()(@false).Value); Assert.AreEqual(false, Literal.Boolean()(notbool).HasValue); }