Example #1
0
        public void IsConfirmedWithTransactionHavingNoBlockHeightReturnsFalse()
        {
            var transaction = new TransactionOutputData
            {
                BlockHeight = null
            };

            Assert.False(transaction.IsConfirmed());
        }
Example #2
0
        public void IsConfirmedWithTransactionHavingBlockHeightReturnsTrue()
        {
            var transaction = new TransactionOutputData
            {
                BlockHeight = 15
            };

            Assert.True(transaction.IsConfirmed());
        }