tests/testbank/IntrospectionTests.R

# -  -  -  -  -  -  -  -  -  -  -  -
# test introspection

cat("\n\n-  -  - introspection tests -  -  -\n")

cat("~~~ TEST inspect person for traces:\n")
tryCatch({
   
   	fw = Person(name="fridolin")
   	fw$write("this is a test")
      summary(fw)
      pos = fw$position()
      summary(pos)
   
	},
	error=function(e) stop ("~~~ !!! FAILED !!!\n"),
	finally=cat("~~~ passed. \n")
)
cat("\n")

Try the mpia package in your browser

Any scripts or data that you put into this service are public.

mpia documentation built on May 2, 2019, 4:18 p.m.