Example #1
0
        public void NegativeRealValueIsProperlySerialized()
        {
            var value = new SgfRealValue(-12.63m);

            Assert.AreEqual("-12.63", value.Serialize());
        }
Example #2
0
        public void IntegerValueIsProperlySerialized()
        {
            var value = new SgfRealValue(12);

            Assert.AreEqual("12", value.Serialize());
        }