1 #include "testbench.h" 2 3 const char *test_name = "speak"; 4 test_body()5void test_body() 6 { 7 spk_strm(0,0); 8 spk_appl(0,0, "Raz"); 9 spk_appl(0,0, "Dva"); 10 if (get_result(0) > 2) shriek("Could not set up a stream"); 11 if (get_result(0) > 2) shriek("Could not apply a stream to the first text"); 12 if (get_result(0) > 2) shriek("Could not apply a stream to the second text"); 13 } 14