How to test intermediate values from a function using test that functionality
Eg.
hello <- function(name){ new_name <- cat(name," new nam