blob: 3152107c5165bc1feed7385956e07bc168857bd3 (
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 = 466
_, 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)
}
}
|