From 14480534011505bb452aad8218aa7dd18bd4bd57 Mon Sep 17 00:00:00 2001 From: Sangjun Park Date: Sun, 18 Aug 2024 18:13:24 +0900 Subject: [PATCH] test: Add test for empty engram with options --- tests/test_engram.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_engram.py b/tests/test_engram.py index e27f446..9c95211 100644 --- a/tests/test_engram.py +++ b/tests/test_engram.py @@ -11,6 +11,10 @@ def test_empty(): assert len(empty) == 0 assert empty == empty2 + empty_with_options = Engrams.empty(track_age=True, track_engram_id=True) + assert empty_with_options.age is not None + assert empty_with_options.engram_ids is not None + def test_init(): batch_size = 3