MCPcopy Index your code
hub / github.com/plexdrive/plexdrive / TestOOB

Function TestOOB

chunk/stack_test.go:5–10  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3import "testing"
4
5func TestOOB(t *testing.T) {
6 stack := NewStack(1)
7
8 item := stack.Push(1)
9 stack.Touch(item)
10}
11
12func TestAddToStack(t *testing.T) {
13 stack := NewStack(1)

Callers

nothing calls this directly

Calls 3

PushMethod · 0.95
TouchMethod · 0.95
NewStackFunction · 0.85

Tested by

no test coverage detected