10#include <catch2/catch_amalgamated.hpp>
17 REQUIRE(ichatbot !=
nullptr);
27 CHECK(tempLang == std::string(
"eng"));
36 std::string messageIn{
"Hello!"};
37 std::string messageOut;
38 b = ichatbot->
interact(messageIn,messageOut);
virtual yarp::dev::ReturnValue resetBot()=0
Resets the chatbot.
virtual yarp::dev::ReturnValue setLanguage(const std::string &language="auto")=0
Sets the chat bot language.
virtual yarp::dev::ReturnValue interact(const std::string &messageIn, std::string &messageOut)=0
Sends a message to the chatbot.
virtual yarp::dev::ReturnValue getLanguage(std::string &language)=0
Gets the current chatbot language.
virtual yarp::dev::ReturnValue getStatus(std::string &status)=0
Gets the current status of the bot.
void exec_iChatBot_test_1(yarp::dev::IChatBot *ichatbot)
For streams capable of holding different kinds of content, check what they actually have.