Skip to content

Commit dd6a3d7

Browse files
github-actionsgithub-actions
authored andcommitted
Formatted with Google Java Formatter
1 parent 4272fe7 commit dd6a3d7

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/main/java/com/examplehub/leetcode/middle/MultiplyStrings.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
import java.math.BigInteger;
44

5-
/**
6-
* https://leetcode.com/problems/multiply-strings/
7-
*/
5+
/** https://leetcode.com/problems/multiply-strings/ */
86
public class MultiplyStrings {
97
public static String solution1(String num1, String num2) {
108
return String.valueOf(Integer.parseInt(num1) * Integer.parseInt(num2));
@@ -16,7 +14,7 @@ public static String solution2(String num1, String num2) {
1614
}
1715

1816
public static String solution3(String num1, String num2) {
19-
//TODO
17+
// TODO
2018
return "";
2119
}
2220
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
package com.examplehub.leetcode.middle;
22

3-
import org.junit.jupiter.api.Test;
4-
53
import static org.junit.jupiter.api.Assertions.*;
64

5+
import org.junit.jupiter.api.Test;
6+
77
class MultiplyStringsTest {
88
@Test
99
void testSolution1() {
1010
assertEquals("6", MultiplyStrings.solution1("2", "3"));
1111
}
12+
1213
@Test
1314
void testSolution2() {
1415
assertEquals("6", MultiplyStrings.solution2("2", "3"));
1516
}
16-
}
17+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy