You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2023/02/28 06:12:25 UTC

[incubator-nlpcraft-website] branch web-staging updated: test.

This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch web-staging
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/web-staging by this push:
     new b968df0  test.
b968df0 is described below

commit b968df041d15d50cd3b95c643cbda9b6c0990c8b
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Tue Feb 28 10:12:15 2023 +0400

    test.
---
 examples/alarm_clock.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 954fb5c..87916fc 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -181,7 +181,7 @@ class AlarmTest {
     @Test
     void test() throws NCException, IOException {
         assertTrue(cli.ask("Ping me in 3 minutes").isOk());
-        assertTrue(cli.ask("Buzz me in an hour and 15mins").isOk());
+        assertTrue(cli.ask("Buzz me in an hour and 15mins.").isOk());
         assertTrue(cli.ask("Set my alarm for 30s").isOk());
     }
 }        </pre><p> This test is pretty straight forward:</p><ul><li> On <code>line 16</code> we open the test client with the model ID (see <code>alarm_model.json</code> file for where we declared it).<li> <code>Line 26, 27, and 28</code> is where we issue our test sentences and we should see the confirmation messages and eventually "BEEP BEEP BEEP" print outs in the data probe console.</ul><p> Right click on this class in the project view and run it. You should be getting standard outpu [...]