Skip to content

Conversation

gojanpaolo
Copy link
Contributor

@gojanpaolo gojanpaolo commented Dec 22, 2017

Fixes #345

FootPerMinute
FootPerHour
UsSurveyFootPerSecond
UsSurveyFootPerMinute
UsSurveyFootPerHour
InchPerSecond
InchPerMinute
InchPerHour
YardPerSecond
YardPerMinute
YardPerHour

FootPerMinute
FootPerHour
UsSurveyFootPerSecond
UsSurveyFootPerMinute
UsSurveyFootPerHour
InchPerSecond
InchPerMinute
InchPerHour
YardPerSecond
YardPerMinute
YardPerHour
@angularsen
Copy link
Owner

@ferittuncer Want to review this one?

@0xferit
Copy link
Contributor

0xferit commented Dec 26, 2017

I started to review @angularsen @gojanpaolo

protected override double UsSurveyFeetPerMinuteInOneMeterPerSecond => 196.85;

protected override double UsSurveyFeetPerHourInOneMeterPerSecond => 11811;

Copy link
Contributor

Choose a reason for hiding this comment

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

We prefer using scientific notation in tests. For example, 1.1811E4 instead of 11811.

Rest is fine, I found no errors in quantity definitions and test values. Good job 🥇

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, but I guess you forgot 10 other tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh sorry about that. I'm looking at the other tests and can't seem to figure out the convention. (e.g. RotationalSpeedTests, PressureTests)

Copy link
Contributor

Choose a reason for hiding this comment

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

No you misunderstood. You have added 11 new units for Speed quantity, so you wrote 11 tests, one for each.

In your last commit you changed the test of UsSurveyFeetPerHourInOneMeterPerSecond into scientific notation.

I meant that you forgot to change the other tests for the units which you added, which includes Foot, UsSurveyFoot, Yard and Inch units.

Did I express myself clearly?

Copy link
Contributor

@0xferit 0xferit Dec 28, 2017

Choose a reason for hiding this comment

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

Well it's not critical, let's not wait for this, we can return and change them into scientific notation later on. I'm merging this pull request. @angularsen

protected override double UsSurveyFeetPerMinuteInOneMeterPerSecond => 196.85;

protected override double UsSurveyFeetPerHourInOneMeterPerSecond => 11811;

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, but I guess you forgot 10 other tests?

@0xferit 0xferit merged commit 14c4022 into angularsen:master Dec 28, 2017
@angularsen
Copy link
Owner

Good job guys, looks good to me! Happy holidays!

@angularsen
Copy link
Owner

@ferittuncer You can go ahead and do the release whenever is convenient for you.

@0xferit
Copy link
Contributor

0xferit commented Dec 29, 2017

@angularsen @gojanpaolo Happy holidays!

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.

3 participants