diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /tests/unit/superfox/test_superfox_unpack.f90 | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'tests/unit/superfox/test_superfox_unpack.f90')
| -rw-r--r-- | tests/unit/superfox/test_superfox_unpack.f90 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/unit/superfox/test_superfox_unpack.f90 b/tests/unit/superfox/test_superfox_unpack.f90 new file mode 100644 index 00000000..8a243ed4 --- /dev/null +++ b/tests/unit/superfox/test_superfox_unpack.f90 @@ -0,0 +1,28 @@ +program test_superfox_unpack + + implicit none + + integer*1 xin(0:49), xdec(0:49) + logical*1 more_cqs, send_msg + character*120 line + character*26 free_text + character*10 ckey + character*13 foxcall + integer notp, pack_error + + line='CQ K1JT FN20' + free_text='2S/IZFUZBRXJF ' + ckey='0000123456' + more_cqs=.false. + send_msg=.true. + + call sfox_pack(line,ckey,more_cqs,send_msg,free_text,xin,pack_error) + if(pack_error.ne.0) error stop 'sfox_pack failed' + + xdec=xin(49:0:-1) + + notp=0 + foxcall='' + call sfox_unpack(123456,xdec,0,1500.0,0.0,foxcall,notp) + +end program test_superfox_unpack |
