Skip to content
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

Add test verifying equality works for Complex on all platforms #3695

Merged
merged 1 commit into from Dec 31, 2020

Conversation

stevenaw
Copy link
Member

@stevenaw stevenaw commented Dec 21, 2020

Fixes #1809

Draft PR + new test verifying that equality of Complex types works on Linux (filed ticket was against .NET Core 1 preview).
Complex doesn't exist on NET35, so test is enclosed in #if !NET35 directive

Based on @mikkelbu 's comment in the issue, it's likely this is a runtime bug in 1.0 which was fixed in 1.1.0 and backported to 1.0. The original issue: dotnet/runtime#6834

@stevenaw stevenaw changed the base branch from master to fix/make-ci-work-again December 28, 2020 14:50
@stevenaw stevenaw changed the base branch from fix/make-ci-work-again to master December 28, 2020 14:59
@rprouse
Copy link
Member

rprouse commented Dec 28, 2020

Looks like you need to merge latest from master to get the build passing.

@stevenaw stevenaw changed the title Draft: Add test verifying equality works for Complex on all platforms Add test verifying equality works for Complex on all platforms Dec 29, 2020
@stevenaw stevenaw marked this pull request as ready for review December 29, 2020 00:07
@stevenaw
Copy link
Member Author

Thanks @rprouse
I've rebased the branch

var ExampleTestA = new ExampleTest.ClassA(0);
var ExampleTestB = new ExampleTest.ClassB(0);
var exampleTestA = new ExampleTest.ClassA(0);
var exampleTestB = new ExampleTest.ClassB(0);
Copy link
Member Author

Choose a reason for hiding this comment

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

Fix a few stylecop naming convention warnings while I'm in the file

@rprouse rprouse merged commit c6d3ff1 into nunit:master Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assert.AreEqual fails for Complex on Linux
3 participants