-
Notifications
You must be signed in to change notification settings - Fork 4
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
version updated #86
version updated #86
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Unchanged files with check annotations Beta
Assert.All(andResults, | ||
c => { | ||
Assert.Equal(c.IsSuccess, c.ChildResults.Last().IsSuccess); | ||
Assert.Single(c.ChildResults.Where(d => c.IsSuccess == d.IsSuccess)); | ||
Check warning on line 47 in test/RulesEngine.UnitTest/NestedRulesTest.cs
|
||
Assert.True(c.ChildResults.SkipLast(1).All(d => d.IsSuccess == true)); | ||
}); | ||
Assert.All(orResults, | ||
c => { | ||
Assert.Equal(c.IsSuccess, c.ChildResults.Last().IsSuccess); | ||
Assert.Single(c.ChildResults.Where(d => c.IsSuccess == d.IsSuccess)); | ||
Check warning on line 54 in test/RulesEngine.UnitTest/NestedRulesTest.cs
|
||
Assert.True(c.ChildResults.SkipLast(1).All(d => d.IsSuccess == false)); | ||
}); | ||
} | ||
Assert.All(andResults, | ||
c => { | ||
Assert.Equal(c.IsSuccess, c.ChildResults.Last().IsSuccess); | ||
Assert.Single(c.ChildResults.Where(d => c.IsSuccess == d.IsSuccess)); | ||
Check warning on line 243 in test/RulesEngine.UnitTest/NestedRulesTest.cs
|
||
Assert.True(c.ChildResults.SkipLast(1).All(d => d.IsSuccess == true)); | ||
}); | ||
Assert.All(orResults, | ||
c => { | ||
Assert.Equal(c.IsSuccess, c.ChildResults.Last().IsSuccess); | ||
Assert.Single(c.ChildResults.Where(d => c.IsSuccess == d.IsSuccess)); | ||
Check warning on line 250 in test/RulesEngine.UnitTest/NestedRulesTest.cs
|
||
Assert.True(c.ChildResults.SkipLast(1).All(d => d.IsSuccess == false)); | ||
}); | ||
} |
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.
Do we not want region blocks?
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 region wraps one block of code. in my opinion, it isn't necessary