Skip to content

done

7bbcf7d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

done #20

done
7bbcf7d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Report succeeded Jul 22, 2025 in 0s

10 passed, 0 failed and 0 skipped

Tests passed successfully

✅ reports/junit/junit.xml

10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
functions 10✅ 2s

✅ functions

functions › greet
  ✅ should log 'Hello <name>' when name is provided
functions › isOdd
  ✅ should return true if the number is odd
  ✅ should return false if the number is even
  ✅ should return false for zero
functions › oddsSmallerThan
  ✅ should return the correct number of odd numbers smaller than an odd number
  ✅ should return the correct number of odd numbers smaller than an even number
  ✅ should return 0 if there are no odd numbers smaller than 1
functions › squareOrDouble
  ✅ should return the square if the number is odd
  ✅ should return double if the number is even
  ✅ should return 0 if the number is 0