Skip to content

Conversation

@scottjbaldwin
Copy link
Owner

Demonstration of Opinionated GIT

Scott Baldwin added 6 commits July 16, 2017 16:40
@scottjbaldwin scottjbaldwin force-pushed the CleanImplementationOfComplexCalculator branch from 3d20921 to 3faf417 Compare July 20, 2017 12:49
Copy link
Owner Author

@scottjbaldwin scottjbaldwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mis-spelling of Modulus

}

[Fact]
public void WhenModulousIsCalled_ItIsCalculatedAndReturned()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Modulus not Modulous

var num = new ComplexNumber { Real = 3, Imaginary = 4 };

// Act
var mod = num.Modulous();
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Modulus not Modulous


public double Imaginary { get; set; }

public double Modulous()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Modulus not Modulous


var c3 = c1.Add(c2);

Console.WriteLine("{0} + {1} = {2} with modulous {3}", c1, c2, c3, c3.Modulous());
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Modulus not Modulous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants