Skip to content

Added Not Equals method for comparing float and dobule arrays - Fixes #1957#1961

Open
atulagrawal wants to merge 1 commit into
testng-team:masterfrom
atulagrawal:issue_1957
Open

Added Not Equals method for comparing float and dobule arrays - Fixes #1957#1961
atulagrawal wants to merge 1 commit into
testng-team:masterfrom
atulagrawal:issue_1957

Conversation

@atulagrawal

@atulagrawal atulagrawal commented Nov 25, 2018

Copy link
Copy Markdown
Contributor

Fixes testng-team/testng-asserts#11

Closes testng-team/testng-asserts#11 .

Did you remember to?

  • Add test case(s)
  • Update CHANGES.txt

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

@atulagrawal atulagrawal changed the title Added Not Equals method for comparing float and dobule arrays - Fixes 1957 Added Not Equals method for comparing float and dobule arrays - Fixes #1957 Nov 25, 2018
@krmahadevan

Copy link
Copy Markdown
Member

@atulagrawal - Thanks for the PR. Can you please help do the following

  1. Add unit tests for the changes.
  2. Check the build failure. I noticed that travis build fails for both JDK8 and JDK9

@juherr juherr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Some tests are missing and the build is failing.

}

public static void assertNotEquals(float[] actual, float[] expected, float delta) {
assertNotEquals(actual, expected, delta,"");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

style: a space is missing after ','

@atulagrawal atulagrawal requested a review from krmahadevan as a code owner June 14, 2021 21:43
@juherr juherr added the Feature: assertions Assert / assertEquals and assertion utilities label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature: assertions Assert / assertEquals and assertion utilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing assertions assertNotEquals(float[], float[], delta) and assertNotEquals(double[], double[], delta)

3 participants