blob: 547611f962734de50c2cfefb593e361614cf3c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package rosa_test
import (
"testing"
"hakurei.app/internal/rosa"
"hakurei.app/pkg"
)
func TestLLVMInputs(t *testing.T) {
const wantInputCount = 635
_, llvm := rosa.MustLoad(rosa.H("llvm"))
var n int
for range pkg.Inputs(llvm) {
n++
}
if n != wantInputCount {
t.Errorf("Inputs: %d, want %d", n, wantInputCount)
}
}
|