Beispiel #1
0
        public void TryFormat()
        {
            var bc = new BooleanConverter();

            Assert.IsTrue(bc.TryFormat(true, out string result));
            Assert.AreEqual("Y", result);

            Assert.IsTrue(bc.TryFormat(false, out result));
            Assert.AreEqual("N", result);
        }