public void Clone_OutputNull_ReturnNewInstanceWithCopiedValues() { // Setup var original = new StabilityStoneCoverWaveConditionsOutput(null, null); // Call object clone = original.Clone(); // Assert CoreCloneAssert.AreObjectClones(original, clone, StabilityStoneCoverCloneAssert.AreClones); }
public void Clone_WithOutputSet_ReturnNewInstanceWithCopiedValues() { // Setup var original = new StabilityStoneCoverWaveConditionsOutput(new[] { WaveConditionsTestDataGenerator.GetRandomWaveConditionsOutput() }, new[] { WaveConditionsTestDataGenerator.GetRandomWaveConditionsOutput() }); // Call object clone = original.Clone(); // Assert CoreCloneAssert.AreObjectClones(original, clone, StabilityStoneCoverCloneAssert.AreClones); }