mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-04 16:49:36 +00:00
changed unit test
This commit is contained in:
parent
17055273bf
commit
d4d5ec20b5
@ -46,10 +46,10 @@ public class ProductTests
|
||||
{
|
||||
"[", "Message", "]", " What", " u", " want", " ?", "[", "Options", "]", " USB-C", " ;", " Keyboard", " ultra",
|
||||
" ;", "[", "Options", "]", " USB", "-C", " ;", "[", "Products", "]", " GTX", " 3090", " ;", " GTX",
|
||||
" 3070TI", " ;", " GTX", " 4070TI", " ;", " ?"
|
||||
" 3070TI", " ;", " GTX", " 4070TI", " ;", " ?", "[", "Message", "]", " What", " u", " want", " ?"
|
||||
};
|
||||
|
||||
var expectedMessages = new List<string> { " What", " u", " want", " ?" };
|
||||
var expectedMessages = new List<string> { " What", " u", " want", " ?", " What", " u", " want", " ?" };
|
||||
var expectedSuggestion = new List<string> { " USB-C", " Keyboard ultra", " USB-C" };
|
||||
|
||||
// Mock the GetChatCompletionStream method to provide the expected SSE data
|
||||
|
Loading…
Reference in New Issue
Block a user