Esempio n. 1
0
        public void PruneTest1()
        {
            Span <CoinEvent> events = stackalloc CoinEvent[3];

            events[0] = new CoinEvent(_1, CoinEventKind.Production);
            events[1] = new CoinEvent(_2, CoinEventKind.Consumption);
            events[2] = new CoinEvent(_2_1, CoinEventKind.Consumption);

            Assert.True(_lineage.IsCoinPrunable(events));
        }