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

Method test_previous

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

Source from the content-addressed store, hash-verified

140 assert history.size == 1
141
142 def test_previous(self):
143 history = InputHistory()
144 history.add("first")
145 history.add("second")
146 assert history.previous() == "second"
147 assert history.previous() == "first"
148
149 def test_next(self):
150 history = InputHistory()

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
previousMethod · 0.95
InputHistoryClass · 0.90

Tested by

no test coverage detected