Closed
Description
Description
Note that the tests of Isomorphic
are not executed.
Steps to reproduce
- run
mvn test
- the output contains:
(1) [WARNING] @Test method 'public static void com.thealgorithms.strings.IsomorphicTest.main(java.lang.String[])' must not be static. It will not be executed.
Source: MethodSource [className = 'com.thealgorithms.strings.IsomorphicTest', methodName = 'main', methodParameterTypes = '[Ljava.lang.String;']
at com.thealgorithms.strings.IsomorphicTest.main(SourceFile:0)
Excepted behavior
Tests should be executed.
Screenshots
No response
Additional context
Update the existing test file. I suggest to express the tests as parametrized (search for @ParameterizedTest
to see examples, e.g. BandwidthAllocationTest
).