Exemplo n.º 1
0
        public void ConstructedDatabaseIsCreated()
        {
            var thing = new Topology.Database(1, Allocator.Temp);

            Assert.IsTrue(thing.IsCreated);
            Assert.DoesNotThrow(() => thing.Dispose());
            Assert.IsFalse(thing.IsCreated);
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     Nodes.Dispose();
     Connections.Dispose();
 }