Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add test coverage improvements, Maven dev profile, and ConsoleInterceptor#7018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
J-manLans wants to merge57 commits intoTheAlgorithms:master
base:master
Choose a base branch
Loading
fromJ-manLans:test-contributions-master
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
57 commits
Select commitHold shift + click to select a range
2e0dea1
First commit
J-manLansOct 2, 2025
3ac709e
deleted the dependabot file that kept issuing pr's
J-manLansOct 9, 2025
cd8864a
[feature] Remove automatic PIT when executing *mvn test*
labe2301Oct 10, 2025
ffcd39b
[feature] Add tests to AES
labe2301Oct 16, 2025
25e9f88
[refactor] Rename AESTest
labe2301Oct 18, 2025
43a6de0
[feature] Kill mutations in ColumnarTranspositionCipher
labe2301Oct 18, 2025
faae7b2
[feature] Kill mutations and strengthen code for Caesar
labe2301Oct 18, 2025
fa89220
[feature] Add tests to PlayfairCipher
labe2301Oct 19, 2025
54ed855
Remove debug print statement from MyCaesarTest
labe2301Oct 20, 2025
6ac3761
Restore PIT mutation coverage execution to pom.xml
labe2301Oct 20, 2025
0a7b4c8
aded test for floor
hediinnTOct 11, 2025
ba86402
aded test for closeParenthesisAnd
hediinnTOct 11, 2025
ffad9a6
not run pitest when calling test
hediinnTOct 11, 2025
9b9f86b
test for some random and divide by 0
hediinnTOct 14, 2025
bcbc15d
done some romannumerals
hediinnTOct 16, 2025
792f748
[feature] Create 100% line coverage, mutation coverage and test stren…
labe2301Oct 18, 2025
38e811f
[feature] Increase line and mutation coverage for SimpsonIntegration
labe2301Oct 18, 2025
6730e2e
added test for min,max.tolong
hediinnTOct 19, 2025
09c91f3
tried to follow reviews
hediinnTOct 21, 2025
e66760e
[bugfix] Fix minor bugs and misses and adds missing tests
labe2301Oct 21, 2025
d4ed468
First commit on new tree branch
J-manLansOct 18, 2025
44a7df4
Complete LCA test
J-manLansOct 18, 2025
e911422
Added test to LSA for guarding against the parent and depth creation
J-manLansOct 18, 2025
1f7d608
Started AVLSimpleTest
J-manLansOct 18, 2025
5cf2b67
Rethought LCA
J-manLansOct 19, 2025
a0d3586
Initial tests in AVLSimpleTest
J-manLansOct 19, 2025
bd7bcee
Coverage tests done
J-manLansOct 19, 2025
2124c7f
Test written for GenericTree
J-manLansOct 19, 2025
80d99a9
Test push for GitHub Actions
J-manLansOct 20, 2025
2296d5e
Generic tree done
J-manLansOct 20, 2025
50d5ac6
Small changes regarding ConsoleInterceptor
J-manLansOct 20, 2025
a7f100f
Restored the pom file for merge
J-manLansOct 20, 2025
d2f53d1
Removed an effin TODO comment
J-manLansOct 20, 2025
575f4ae
Added some empty/minimal tree tests
J-manLansOct 21, 2025
0de92cc
Changed pitest phase in pom.xml
J-manLansOct 22, 2025
1f91e34
fixed comment and added extra test for IEEE 754
hediinnTOct 23, 2025
59cf6f4
from J-manLans, a good solution
hediinnTOct 24, 2025
6fd9c0f
ran clang-format
hediinnTOct 24, 2025
34fdc90
Corrected our additions
J-manLansOct 27, 2025
a84d8d9
Corrected imports
J-manLansOct 27, 2025
fad0916
Made style changes
J-manLansOct 27, 2025
bdc9369
Made style changes
J-manLansOct 27, 2025
3230715
Made style changes
J-manLansOct 27, 2025
e2cbf27
Made style changes
J-manLansOct 27, 2025
87f15fb
Made style changes
J-manLansOct 27, 2025
c24cc40
Made style changes
J-manLansOct 27, 2025
6774385
Made style changes
J-manLansOct 27, 2025
eaf81c7
Made style changes
J-manLansOct 27, 2025
f61786b
Made style changes
J-manLansOct 27, 2025
96b539d
Made style changes
J-manLansOct 27, 2025
177f115
Made style changes
J-manLansOct 28, 2025
79771a3
Added test documentation
J-manLansOct 28, 2025
1f9d15a
Added pom dev profile
J-manLansOct 29, 2025
fd3e28d
refactor: Merge files testing the same packages
labe2301Oct 29, 2025
a888944
refactor: Fix imports to satisfy PMD
labe2301Oct 29, 2025
a16e8ed
Added pom dev profile
J-manLansOct 31, 2025
c047bee
Merge branch 'master' into test-contributions-master
J-manLansOct 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Corrected imports
Autocorrected import orderaccording to Clang's wishes
  • Loading branch information
@J-manLans
J-manLans committedOct 29, 2025
commita84d8d9eca806016bb901b8cacda9fc286e4da06
1 change: 0 additions & 1 deletionsrc/test/java/com/thealgorithms/ciphers/MyAESTest.java
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,6 @@
import static org.junit.jupiter.api.Assertions.assertNotEquals;

import java.math.BigInteger;

import org.junit.jupiter.api.Test;

public class MyAESTest {
Expand Down
4 changes: 2 additions & 2 deletionssrc/test/java/com/thealgorithms/ciphers/MyCaesarTest.java
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
package com.thealgorithms.ciphers;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.jupiter.api.Test;

public class MyCaesarTest {
private final Caesar caesar = new Caesar();

Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
package com.thealgorithms.ciphers;

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

public class MyPlayfairCipherTest {
private PlayfairCipher playfair;
private final String keyword = "KEYWORD";
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
package com.thealgorithms.datastructures.trees;

import com.thealgorithms.utils.ConsoleInterceptor;
import static org.junit.jupiter.api.Assertions.assertEquals;

import com.thealgorithms.devutils.ConsoleInterceptor;
import java.util.stream.Stream;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
Expand All@@ -10,10 +13,6 @@
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;

import java.util.stream.Stream;

import static org.junit.jupiter.api.Assertions.assertEquals;

public class AVLSimpleTest {
AVLSimple tree = new AVLSimple();
ConsoleInterceptor interceptor = new ConsoleInterceptor();
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
package com.thealgorithms.datastructures.trees;

import com.thealgorithms.utils.ConsoleInterceptor;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

import java.util.InputMismatchException;

import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

import com.thealgorithms.devutils.ConsoleInterceptor;
import java.util.InputMismatchException;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

public class GenericTreeTest {
GenericTree tree;
ConsoleInterceptor interceptor = new ConsoleInterceptor();
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
package com.thealgorithms.datastructures.trees;

import com.thealgorithms.utils.ConsoleInterceptor;
import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

import com.thealgorithms.devutils.ConsoleInterceptor;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.stream.Stream;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
Expand All@@ -10,14 +17,6 @@
import org.junit.jupiter.params.provider.CsvSource;
import org.junit.jupiter.params.provider.MethodSource;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.stream.Stream;

import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;

public class LCATest {
/**
* This input creates the following tree:
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
package com.thealgorithms.utils;
package com.thealgorithms.devutils;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
Expand Down
15 changes: 7 additions & 8 deletionssrc/test/java/com/thealgorithms/maths/MathBuilderTest.java
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
package com.thealgorithms.maths;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;

import java.util.List;

import static org.junit.jupiter.api.Assertions.assertAll;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
Expand All@@ -16,6 +8,13 @@
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.List;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;

class MathBuilderTest {

@Test
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
package com.thealgorithms.maths;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;

import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;

class RomanNumeralUtilTest {
@ParameterizedTest()
@CsvSource({
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp