Sha256: 73cd89545e4d21bc5827974f700c042c7672cd34865ef19e7f3b170a39fb7340
Contents?: true
Size: 378 Bytes
Versions: 22
Compression:
Stored size: 378 Bytes
Contents
#include "unittest.hpp" #include "rice/VM.hpp" #include "rice/Object.hpp" #include <memory> using namespace Rice; std::auto_ptr<VM> vm; TESTSUITE(VM); SETUP(VM) { std::vector<const char *> args; args.push_back("test_VM"); args.push_back("-e"); args.push_back("puts \"HELLO\""); vm.reset(new VM(args)); } TESTCASE(create_object) { Object o; o.call("to_s"); }
Version data entries
22 entries across 22 versions & 5 rubygems
Version | Path |
---|---|
rice-1.2.0 | test/test_VM.cpp |
rice-1.1.0 | test/test_VM.cpp |