update tests

This commit is contained in:
Jazz Turner-Baggs 2025-07-02 20:10:34 -07:00
parent 4bef110b70
commit 54ebf40320
No known key found for this signature in database

View File

@ -1,10 +1,10 @@
import unittest
import chat_types
import chat_proto
suite "Type Encoding Tests":
test "HistoryEntry roundtrip":
let x = chat_types.HistoryEntry(message_id: "12345", retrieval_hint: @[1'u8, 2, 3, 255])
let x = chat_proto.HistoryEntry(message_id: "12345", retrieval_hint: @[1'u8, 2, 3, 255])
let encoded = Protobuf.encode(x)
let decoded = Protobuf.decode(encoded, HistoryEntry)