MCPcopy
hub / github.com/skip2/go-qrcode / TestBuildRegularSymbol

Function TestBuildRegularSymbol

regular_symbol_test.go:13–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestBuildRegularSymbol(t *testing.T) {
14 for k := 0; k <= 7; k++ {
15 v := getQRCodeVersion(Low, 1)
16
17 data := bitset.New()
18 for i := 0; i < 26; i++ {
19 data.AppendNumBools(8, false)
20 }
21
22 s, err := buildRegularSymbol(*v, k, data, false)
23
24 if err != nil {
25 fmt.Println(err.Error())
26 } else {
27 _ = s
28 //fmt.Print(m.string())
29 }
30 }
31}

Callers

nothing calls this directly

Calls 4

NewFunction · 0.92
getQRCodeVersionFunction · 0.85
buildRegularSymbolFunction · 0.85
AppendNumBoolsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…