public void Should_be_mergable_with_other() { // when var reconstruct = new GraphReconstruct(EntityId, GraphId, new EntityQuad[0]); var other = new GraphReconstruct(EntityId, GraphId, new EntityQuad[0]); // then reconstruct.CanMergeWith(other).Should().BeTrue(); }
public void Should_be_mergable_with_update() { // when var reconstruct = new GraphReconstruct(EntityId, GraphId, new EntityQuad[0]); var update = new GraphUpdate(EntityId, GraphId, new EntityQuad[0], new EntityQuad[0]); // then reconstruct.CanMergeWith(update).Should().BeTrue(); }