-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support group by with 2 parameters, add tolist #103
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
=========================================
+ Coverage 84.24% 84.3% +0.05%
=========================================
Files 26 26
Lines 3243 3255 +12
Branches 481 483 +2
=========================================
+ Hits 2732 2744 +12
Misses 379 379
Partials 132 132
Continue to review full report at Codecov.
|
and what about this? |
@@ -181,6 +182,7 @@ interface IEnumerableSignatures | |||
void LastOrDefault(); | |||
void Single(); | |||
void SingleOrDefault(); | |||
void ToList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a test to cover this method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes in ParseLambdaComplex_2
@@ -181,6 +182,7 @@ interface IEnumerableSignatures | |||
void LastOrDefault(); | |||
void Single(); | |||
void SingleOrDefault(); | |||
void ToList(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And a function like ToArray
, can that also be defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think so, but I've not tested/used
@@ -54,6 +54,48 @@ public void ParseLambda_EmptyParameterList() | |||
} | |||
|
|||
[Fact] | |||
public void ParseLambdaComplex_1() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to move this test to the file QueryableTests.GroupBy.cs or does that not fit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other tests in this class (for example ParseLambda_1) also test Lambda with GroupBy
I did add some question to this code-review. |
} | ||
|
||
[Fact] | ||
public void ParseLambdaComplex_2() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests ToList()
No description provided.