Skip to content

httpYac Simple Assertions #5

httpYac Simple Assertions

httpYac Simple Assertions #5

GitHub Actions / httpYac API Tests (Report EnricoMi) succeeded Nov 25, 2024 in 0s

All 52 tests pass in 10s

52 tests   52 ✅  10s ⏱️
13 suites   0 💤
 1 files     0 ❌

Results for commit 0ee8438.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / httpYac API Tests (Report EnricoMi)

52 tests found

There are 52 tests, see "Raw output" for the full list of tests.
Raw output
A greedy approach is not optimal ‑ content-type contains json
A greedy approach is not optimal ‑ fewestCoins == [10, 10]
A greedy approach is not optimal ‑ fewestCoins exists
A greedy approach is not optimal ‑ status == 200
Another possible change without unit coins available ‑ content-type contains json
Another possible change without unit coins available ‑ fewestCoins == [4, 4, 4, 5, 5, 5]
Another possible change without unit coins available ‑ fewestCoins exists
Another possible change without unit coins available ‑ status == 200
Cannot find negative change values ‑ content-type contains json
Cannot find negative change values ‑ error == Negative change not allowed
Cannot find negative change values ‑ error exists
Cannot find negative change values ‑ status == 400
Change for 1 cent ‑ content-type contains json
Change for 1 cent ‑ fewestCoins == [1]
Change for 1 cent ‑ fewestCoins exists
Change for 1 cent ‑ status == 200
Change with Lilliputian Coins ‑ content-type contains json
Change with Lilliputian Coins ‑ fewestCoins == [4, 4, 15]
Change with Lilliputian Coins ‑ fewestCoins exists
Change with Lilliputian Coins ‑ status == 200
Change with Lower Elbonia Coins ‑ content-type contains json
Change with Lower Elbonia Coins ‑ fewestCoins == [21, 21, 21]
Change with Lower Elbonia Coins ‑ fewestCoins exists
Change with Lower Elbonia Coins ‑ status == 200
Error if no combination can add up to target ‑ content-type contains json
Error if no combination can add up to target ‑ error == can't make target with given coins
Error if no combination can add up to target ‑ error exists
Error if no combination can add up to target ‑ status == 400
Error testing for change smaller than the smallest of coins ‑ content-type contains json
Error testing for change smaller than the smallest of coins ‑ error == can't make target with given coins
Error testing for change smaller than the smallest of coins ‑ error exists
Error testing for change smaller than the smallest of coins ‑ status == 400
Large target values ‑ content-type contains json
Large target values ‑ fewestCoins == [2, 2, 5, 20, 20, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100]
Large target values ‑ fewestCoins exists
Large target values ‑ status == 200
Multiple coin change ‑ content-type contains json
Multiple coin change ‑ fewestCoins == [5, 10]
Multiple coin change ‑ fewestCoins exists
Multiple coin change ‑ status == 200
No coins make 0 change ‑ content-type contains json
No coins make 0 change ‑ fewestCoins == []
No coins make 0 change ‑ fewestCoins exists
No coins make 0 change ‑ status == 200
Possible change without unit coins available ‑ content-type contains json
Possible change without unit coins available ‑ fewestCoins == [2, 2, 2, 5, 10]
Possible change without unit coins available ‑ fewestCoins exists
Possible change without unit coins available ‑ status == 200
Single coin change ‑ content-type contains json
Single coin change ‑ fewestCoins == [25]
Single coin change ‑ fewestCoins exists
Single coin change ‑ status == 200