Skip to content

[BUG] Tests of Isomorphic #6258

Closed
Closed
@vil02

Description

@vil02

Description

Note that the tests of Isomorphic are not executed.

Steps to reproduce

  1. run mvn test
  2. 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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions