Module: RSession::Assertions::ClassMethods

Included in:
RSession
Defined in:
app/models/r.rb

Overview

assert_invariant

Instance Method Summary collapse

Instance Method Details

#assert_invariantObject


47
48
49
50
# File 'app/models/r.rb', line 47

def assert_invariant
	assert_not_nil(RSession.new.eval('1+2'))
	assert_not_equal("  PID TTY          TIME CMD\n", `ps -C Rserve`, "Enter R CMD Rserve to start R server.")
end