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

MainTest.java:75-118: Rewrite as OOP-style of applying... #54

Closed
0pdd opened this issue Sep 29, 2022 · 3 comments
Closed

MainTest.java:75-118: Rewrite as OOP-style of applying... #54

0pdd opened this issue Sep 29, 2022 · 3 comments

Comments

@0pdd
Copy link

0pdd commented Sep 29, 2022

The puzzle 52-0474ee38 from #52 has to be resolved:

@todo #52:30min Rewrite as OOP-style of applying functions and comparing
results in MatcherAssert
*/
for (int idx = 0; idx < first.size(); idx++) {
if (first.get(idx).contains("flag_")) {
first.set(
idx,
String.format(
"%sflag",
first.get(idx).substring(0, first.get(idx).indexOf("flag_"))
)
);
second.set(
idx,
String.format(
"%sflag",
second.get(idx).substring(0, second.get(idx).indexOf("flag_"))
)
);
}
if (first.get(idx).contains("g_")) {
first.set(
idx,
String.format(
"%srem",
first.get(idx).substring(0, first.get(idx).indexOf("g_"))
)
);
second.set(
idx,
String.format(
"%srem",
second.get(idx).substring(0, second.get(idx).indexOf("g_"))
)
);
}
}
MatcherAssert.assertThat(
first,
Matchers.is(second)
);
}
}

The puzzle was created by @MikhailLipanin on 29-Sep-22.

Estimate: 30 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd
Copy link
Author

0pdd commented Oct 3, 2022

@0pdd 2 puzzles #57, #58 are still not solved.

@0pdd
Copy link
Author

0pdd commented Oct 5, 2022

@0pdd the puzzle #57 is still not solved; solved: #58.

@0pdd
Copy link
Author

0pdd commented Oct 24, 2022

The puzzle 52-0474ee38 has disappeared from the source code, that's why I closed this issue.

@0pdd 0pdd closed this as completed Oct 24, 2022
0pdd referenced this issue Oct 24, 2022
mvn clean install -Pqulice works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant