public void ShouldClonePosition() { StoragePosition position = new StoragePosition(); StoragePosition cloned = position.Clone(); Assert.That(cloned, Is.Not.SameAs(position)); }
public StorageAllocation Allocate() { StoragePosition allocated = position.Clone(); StorageAllocation allocation = new StorageAllocation(memory, allocated); return(allocation); }