選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

16 行
358B

  1. package gpudemod
  2. import "testing"
  3. func TestStubAvailableFalseWithoutCufft(t *testing.T) {
  4. if Available() {
  5. t.Fatal("expected CUDA demod to be unavailable without cufft build tag")
  6. }
  7. }
  8. func TestStubNewReturnsErrorWithoutCufft(t *testing.T) {
  9. if _, err := New(4096, 2048000); err == nil {
  10. t.Fatal("expected New to fail without cufft build tag")
  11. }
  12. }