Wideband autonomous SDR analysis engine forked from sdr-visual-suite
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

18 satır
377B

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