We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d07a4 commit 6119a0eCopy full SHA for 6119a0e
money/src/test/java/com/iluwater/money/MoneyTest.java
@@ -5,6 +5,7 @@
5
import com.iluwatar.CannotAddTwoCurrienciesException;
6
import com.iluwatar.CannotSubtractException;
7
import com.iluwatar.Money;
8
+import com.iluwatar.App;
9
10
11
class MoneyTest {
@@ -112,4 +113,13 @@ void testExchangeCurrency_NegativeExchangeRate() {
112
113
money.exchangeCurrency("EUR", -0.85);
114
});
115
}
116
+
117
118
+ @Test
119
+ void testAppExecution() {
120
+ assertDoesNotThrow(() -> {
121
+ App.main(new String[]{});
122
+ }, "App execution should not throw any exceptions");
123
+ }
124
125
0 commit comments