Example #1
0
        public void ShouldCreateRelativeXEM()
        {
            var xem = new XemAmount((double)1);

            Assert.AreEqual((ulong)1000000, xem.Amount);
        }
Example #2
0
        public void ShouldCreateAbsoluteXEM()
        {
            var xem = new XemAmount(1000000);

            Assert.AreEqual((ulong)1000000, xem.Amount);
        }
Example #3
0
        public void ShouldCreateXEMViaConstructor()
        {
            var xem = new XemAmount(0);

            Assert.AreEqual((ulong)0, xem.Amount);
        }