Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ceddlyburge/5adcf7e4cfd970686a398f4cfec88d51 to your computer and use it in GitHub Desktop.
Save ceddlyburge/5adcf7e4cfd970686a398f4cfec88d51 to your computer and use it in GitHub Desktop.
Example partial root setup class for CustomerTestsExcel framework
public partial class SpecificationSpecificVermeulenNearWakeLengthCalculator
{
// For the "Then" section, return the results to assert
internal IEnumerable<IVermeulenNearWakeLength> VermeulenNearWakeLengths { get; private set; }
// For the "When" section, exercising the system under test.
internal void Calculate()
{
VermeulenNearWakeLengths =
new VermeulenNearWakeLengthCalculator(
vermeulenNearWakeLengthInputss.Select(i => i.VermeulenNearWakeLengthInput).ToList()
).Calculate();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment