MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_next_past_end

Method test_next_past_end

tests/test_input_processing.py:157–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 assert history.next() == "second"
156
157 def test_next_past_end(self):
158 history = InputHistory()
159 history.add("first")
160 # cursor at end
161 result = history.next()
162 assert result == "" # Empty when past end
163
164 def test_previous_empty(self):
165 history = InputHistory()

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
nextMethod · 0.95
InputHistoryClass · 0.90

Tested by

no test coverage detected