public void Can_reset_empty_many_times() { WitnessCollector witnessCollector = new WitnessCollector(new MemDb(), LimboLogs.Instance); witnessCollector.Reset(); witnessCollector.Reset(); witnessCollector.Reset(); witnessCollector.Collected.Should().HaveCount(0); }
public void Can_reset() { WitnessCollector witnessCollector = new WitnessCollector(new MemDb(), LimboLogs.Instance); witnessCollector.Add(TestItem.KeccakA); witnessCollector.Add(TestItem.KeccakB); witnessCollector.Reset(); witnessCollector.Collected.Should().HaveCount(0); }