fiatjaf.com/lib v0.1.1
Go module source archive layoutArchive contains go.mod
SHA-256ab4ec5476048f416b1de24d1bd874a460682acba363d19e58bc158acf60a3a48
MaleculeMd₃(InPa₂)
Evidence
1package set
2
3import (
4 "fmt"
5 "reflect"
6 "strings"
7 "testing"
8)
9
10func BenchmarkSets(b *testing.B) {
11 for _, n := range []int{10, 100, 1000, 10000} {
12 for _, initSet := range []func(items ...i …
1package set
2
3import (
4 "fmt"
5 "reflect"
6 "strings"
7 "testing"
8)
9
10func TestSets(t *testing.T) {
11 for _, initSet := range []func(items ...string) Set[string]{NewHashSet[string], NewSliceSet[string] …
35:5… if !s.Has(l) {
36 t.Fatalf("'%s' should be in the set", l)
37 }
38 }
39 for _, l := range []string{"psow", "xucj"} {
40 if s.Has(l) {
41 t.Fa …
No evidence locations were recorded for this file. Raw result