Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3de6951
Setting up GitHub Classroom Feedback
github-classroom[bot] Mar 13, 2024
5a8edc8
Create LICENSE
MuhammetSultanov Mar 15, 2024
d538a94
Initialize project
Mar 15, 2024
b4e70f1
fix: MIT licence badge link
Mar 15, 2024
242ba74
First version of Nodes, Tree and BinaryTree. No exceptions and a lot …
AlexandrKudrya Mar 15, 2024
6464e91
Some changes in non-null operator usage and get function fix
AlexandrKudrya Mar 16, 2024
3680886
Add Github Actions
7gambit7 Mar 17, 2024
c9c916b
Create last tree method - delete. Add to node basic methods
AlexandrKudrya Mar 17, 2024
895ddcd
Merge pull request #3 from spbu-coding-2023/work
AlexandrKudrya Mar 17, 2024
6af0896
No more equal keys :(
AlexandrKudrya Mar 18, 2024
28f0ea3
Add Nodes file to git
AlexandrKudrya Mar 18, 2024
49b87b9
Merge pull request #4 from spbu-coding-2023/work
AlexandrKudrya Mar 18, 2024
90749cd
Delete fix and some BinaryTree tests
AlexandrKudrya Mar 19, 2024
afb0f4b
add: RBTree
Mar 19, 2024
7cbf00a
fix: conflicts
Mar 19, 2024
96c3923
NO MORE UNSAFE CASTS. Generic type added
AlexandrKudrya Mar 19, 2024
55dbe51
Merge remote-tracking branch 'origin/work' into work
AlexandrKudrya Mar 19, 2024
3933704
Merge pull request #5 from spbu-coding-2023/work
AlexandrKudrya Mar 19, 2024
2bc410f
fix: RBTree methods casts
Mar 19, 2024
e3f5984
Configuring CI tests
7gambit7 Mar 20, 2024
0af7f21
Merge pull request #6 from spbu-coding-2023/CI
7gambit7 Mar 20, 2024
a030090
Gradle now log tests
AlexandrKudrya Mar 20, 2024
213d1c3
Merge branch 'main' of https://github.com/spbu-coding-2023/trees-11 i…
AlexandrKudrya Mar 20, 2024
bdea463
Tests. Just Tests. Instruction covering 60%
AlexandrKudrya Mar 25, 2024
aabea9f
Merge pull request #7 from spbu-coding-2023/work
AlexandrKudrya Mar 25, 2024
68829f1
MORE TESTS. All delete covering.
AlexandrKudrya Mar 26, 2024
5aa84e8
Merge pull request #8 from spbu-coding-2023/work
AlexandrKudrya Mar 26, 2024
e69f9c5
fix: delete method
Mar 29, 2024
eef0d06
DFS modes were added. ToString function was added with mode argument.…
AlexandrKudrya Mar 29, 2024
6e719c2
Merge remote-tracking branch 'origin/work' into work
AlexandrKudrya Mar 29, 2024
70a109c
Gradle optimised. Remove full information about each test. Added info…
AlexandrKudrya Mar 29, 2024
aef9f6a
edit: toString method now displays colored nodes
Mar 30, 2024
b74b9c3
add: full cover RBNodeTest and RBTreeTest 30% covered
Mar 30, 2024
f7c491b
merge: test updates commit with gradle optimization
Mar 30, 2024
637e02c
Merge pull request #9 from spbu-coding-2023/work
AlexandrKudrya Mar 30, 2024
a2f7761
Merge pull request #10 from spbu-coding-2023/main
AlexandrKudrya Mar 30, 2024
dafb61c
Update github-actions.yml
AlexandrKudrya Mar 30, 2024
2720f6a
Update github-actions.yml
AlexandrKudrya Mar 30, 2024
d199c2d
Merge branch 'main' into CI
AlexandrKudrya Mar 30, 2024
c5d2dec
add: tests for merge and balanceRBTree
Mar 31, 2024
ddf52e3
fix: delete method in Red-Black tree
Apr 1, 2024
66a046a
add: tests to Red-Black Node
Apr 1, 2024
27a02f3
add: more tests for delete method
Apr 1, 2024
1f2e24d
add: delete and add methods' tests.
Apr 1, 2024
2b21204
Merge pull request #12 from spbu-coding-2023/work
MuhammetSultanov Apr 1, 2024
fdafc02
Some gradle change to generate jacoco badge
AlexandrKudrya Apr 1, 2024
421a2df
Merge pull request #13 from spbu-coding-2023/work
AlexandrKudrya Apr 1, 2024
6040510
Update github-actions to create jacoco badges.yml
AlexandrKudrya Apr 1, 2024
ed1b235
fix: path correct usage.yml
AlexandrKudrya Apr 1, 2024
0dbcc5f
fix: access fix.yml
AlexandrKudrya Apr 1, 2024
2fa9e87
Badge canceling.yml
AlexandrKudrya Apr 1, 2024
5243f26
Merge pull request #14 from spbu-coding-2023/CI
AlexandrKudrya Apr 1, 2024
3f6887e
AVL v.0.1
7gambit7 Apr 2, 2024
55fa001
edit: README
Apr 2, 2024
3b7e302
Merge branch 'main' of github.com:spbu-coding-2023/trees-11
Apr 2, 2024
b4b6495
edit: README information sequesnce
Apr 2, 2024
d8776a3
Little naming and README fixes
AlexandrKudrya Apr 2, 2024
fc0e76c
Merge remote-tracking branch 'origin/work' into work
AlexandrKudrya Apr 2, 2024
b194d6c
fix: toStringBeautifulHeight in colored RBTree
Apr 2, 2024
25b09bd
Merge branch 'work' of github.com:spbu-coding-2023/trees-11 into work
Apr 2, 2024
4e8cf7a
add: colored output example to README
Apr 2, 2024
da9802a
AVL v.1
7gambit7 Apr 3, 2024
d6b06c1
Merge branch 'work' of https://github.com/spbu-coding-2023/trees-11 i…
7gambit7 Apr 3, 2024
def97c2
Merge pull request #15 from spbu-coding-2023/work
7gambit7 Apr 3, 2024
97bb136
add tests for AVL-Tree Nodes
7gambit7 Apr 3, 2024
f08ceaa
fix delete method in avl tree
7gambit7 Apr 4, 2024
5cb68e7
fix one test explanation in binary tree tests
7gambit7 Apr 4, 2024
2bb7fb3
avl tree 90% test coverage
7gambit7 Apr 4, 2024
97e85f2
avl tree 93% test coverage
7gambit7 Apr 4, 2024
1742d57
+ 1 test avl tree
7gambit7 Apr 4, 2024
0fa2f2b
add: how to launch project guide
MuhammetSultanov Apr 6, 2024
eb00bd6
remove: unecessary min/max methods
MuhammetSultanov Apr 6, 2024
3f9c953
add: toStringHeight tests for RBTree
MuhammetSultanov Apr 6, 2024
1d28172
Merge pull request #16 from spbu-coding-2023/work
MuhammetSultanov Apr 6, 2024
c36c5ab
Linter used. Also some BinaryTreeTest fix. Adding jacoco-badge-genera…
AlexandrKudrya Apr 9, 2024
5193108
Merge pull request #17 from spbu-coding-2023/work
AlexandrKudrya Apr 9, 2024
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
35 changes: 35 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Kotlin CI with Gradle

on:
push:
branches:
[main, CI]
pull_request:
branches:
[main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: "oracle"
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Testing
run: ./gradlew test

- name: Run Test Coverage
run: ./gradlew jacocoTestReport

- name: Generate JaCoCo Badge
uses: cicirello/jacoco-badge-generator@v2
with:
generate-branches-badge: true
jacoco-csv-file: build/reports/jacoco/test/jacocoTestReport.csv
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 spbu-coding-2023

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading