| 360 | } |
| 361 | |
| 362 | void MiscTest::testMultipleKernels() |
| 363 | { |
| 364 | sml::Kernel* pKernel2 = sml::Kernel::CreateKernelInNewThread(sml::Kernel::kDefaultSMLPort - 1); |
| 365 | CPPUNIT_ASSERT(pKernel2 != NULL); |
| 366 | CPPUNIT_ASSERT_MESSAGE(pKernel2->GetLastErrorDescription(), !pKernel2->HadError()); |
| 367 | |
| 368 | sml::Agent* pAgent2 = pKernel2->CreateAgent("soar2"); |
| 369 | CPPUNIT_ASSERT(pAgent2 != NULL); |
| 370 | |
| 371 | pKernel2->Shutdown(); |
| 372 | delete pKernel2; |
| 373 | |
| 374 | pAgent->ExecuteCommandLine("p s1"); |
| 375 | CPPUNIT_ASSERT(pAgent->GetLastCommandLineResult()); |
| 376 | } |
| 377 | |
| 378 | void MiscTest::testSmemArithmetic() |
| 379 | { |
nothing calls this directly
no test coverage detected