mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
refactor: add JavaDocs and improve readability in InfixToPrefix (#6363)
* refactor: add JavaDocs and improve readability in InfixToPrefix * formatting: remove redundant newline --------- Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
acb4753d65
commit
7590d8234f
@@ -13,7 +13,7 @@ public class InfixToPrefixTest {
|
||||
|
||||
@ParameterizedTest
|
||||
@MethodSource("provideValidExpressions")
|
||||
void testValidExpressions(String infix, String expectedPrefix) throws Exception {
|
||||
void testValidExpressions(String infix, String expectedPrefix) {
|
||||
assertEquals(expectedPrefix, InfixToPrefix.infix2Prefix(infix));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user