100% test pass; all examples produce expected outputs