Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

[W09] Add tests for W09 #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nilsreichardt
Copy link
Contributor

@nilsreichardt nilsreichardt commented Jul 9, 2023

Checklist

General

  • I confirm that my tests, if any, are correct
    • Optional: I pass all artemis tests.
    • Optional: I pass all tests, that are added in this PR.
    • Optional: I calculated manually the correct solutions on paper.
  • I chose a title conforming to the naming conventions for pull requests.
  • The newly added tests do not reveal the solutions dynamically calculating the solutions as expected in the exercise.
  • Other students approved this Pull Request.

Description

  • Used the tests from last as foundation
  • Refactored tests from last year
  • Added a bunch of tests to ValidAVLTest.java
    • Added testValidAVLCorrect01
    • Added testValidAVLCorrect04
    • Added testValidAVLLoop01
    • Added testValidAVLLoop02
    • Added testValidAVLBalanceEqualsHeight01
    • Added testValidAVLBalanceEqualsHeight02
    • Added testValidAVLBalanceEqualsHeight03
    • Added testValidAVLBalanceEqualsHeight04
    • Added testValidAVLBalanceEqualsHeightOnlyRoot
  • Added a few tests to InsertTest
    • Added testInsertLeftRight3
    • Added testInsertDuplicateKeys
  • Added tests for the find method
  • Added fix seed for Random object

@github-actions github-actions bot added the w09 label Jul 9, 2023
@nilsreichardt nilsreichardt changed the title [w09] Add tests for W09 [W09] Add tests for W09 Jul 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant