commit 9e659c49b554a3775af02e55d36f736078ed0343
parent c72666b352f655d39432b8340408a61db3231ee8
Author: William Casarin <jb55@jb55.com>
Date: Sat, 22 Jul 2023 17:13:51 -0700
ndb/test: add a few more tests
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/nostrdb/Test/NdbTests.swift b/nostrdb/Test/NdbTests.swift
@@ -28,7 +28,9 @@ final class NdbTests: XCTestCase {
XCTAssertEqual(hex_encode(note.id), id)
XCTAssertEqual(hex_encode(note.pubkey), pubkey)
- XCTAssertEqual(note.owned_size, 59106)
+ XCTAssertEqual(note.owned_size, 59058)
+ XCTAssertEqual(note.kind, 3)
+ XCTAssertEqual(note.created_at, 1689904312)
XCTAssertEqual(note.tags().reduce(0, { sum, _ in sum + 1 }), 786)
//let tags = note.tags()