Skip to content

Commit

Permalink
Update ResultAnalyzer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogancan94 authored Oct 4, 2024
1 parent e6e17dd commit d6325c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/ResultAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void afterAll(ExtensionContext context) throws Exception {
long success = summary.get(TestResultStatus.SUCCESSFUL) != null ? summary.get(TestResultStatus.SUCCESSFUL) : 0;
long failure = summary.get(TestResultStatus.FAILED) != null ? summary.get(TestResultStatus.FAILED) : 0;

long score = success / (success + failure);
double score = (double) success / (success + failure);
String userId = "999999";

JSONObject json = new JSONObject();
Expand Down

0 comments on commit d6325c7

Please sign in to comment.