public HailstoneInformation ComputeHailstoneInformation(long input) { var hn = ComputeHailstoneNumber(input); var model = new HailstoneInformation(input, hn, generator.GenerateSequence(input)); return(model); }
public HailstoneInformation ComputeHailstoneInformation(long input) { var hailstoneNumber = ComputeHailstoneNumber(input); var sequence = GenerateSequence(input); var result = new HailstoneInformation(input, hailstoneNumber, sequence); return(result); }