A library for working with Pijul repositories in Go
package pijul

import "testing"

func TestStateWithOneChange(t *testing.T) {
	s := EmptyState
	s = s.Add(mustHashFromBase32("GX2BR74VP5CYZQ3NNXD2UOMDDL7VQOO5EWE3FJXWCYL4RPZB7W6AC"))
	got := s.String()
	want := "L5L7BAORAWMJK627L3SWYN4MFG7AHGRYHXDEVMADSSYLFC2OWNMQC"
	if got != want {
		t.Fatalf("got %s, want %s", got, want)
	}
}