weather.otml
来自「SRI international 发布的OAA框架软件」· OTML 代码 · 共 21 行
OTML
21 行
<!--
This test case tests basic functionality of checking the weather.
-->
<!-- Test: What is the weather in boston?-->
<testcase timeout="15">
<send>
oaa_Solve(weather([in(boston)],_),[blocking(false)])
</send>
<toFac>
ev_solved(_,_,_,weather([in(boston)],_),_,[weather([in(boston)],BostonWeather)])
<regex
var="BostonWeather"
value="'The weather in boston is currently .* temperature .*'"
/>
</toFac>
</testcase>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?