Files
wazero/internal/wazeroir/operations_test.go
Takeshi Yoneda 94d1d31733 SIMD: implements comparison instructions (#617)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
2022-06-03 16:04:08 +09:00

15 lines
332 B
Go

package wazeroir
import (
"testing"
"github.com/tetratelabs/wazero/internal/testing/require"
)
// TestInstructionName ensures that all the operation kind's stringer is well-defined.
func TestOperationKind_String(t *testing.T) {
for k := OperationKind(0); k < operationKindEnd; k++ {
require.NotEqual(t, "", k.String())
}
}