diff options
author | Rob Savoye | 2010-11-09 21:56:08 -0700 |
---|---|---|
committer | Eric Blossom | 2010-11-10 12:17:58 -0800 |
commit | ab0d7d5b428fdf39d38f335a0ea6fc9be4924ca5 (patch) | |
tree | c2fe533d58440960febd18cd90b0d5b18bed775a /gnuradio-core/src | |
parent | 1c2355390190f67762a39d77424b5e48563cfe9a (diff) | |
download | gnuradio-ab0d7d5b428fdf39d38f335a0ea6fc9be4924ca5.tar.gz gnuradio-ab0d7d5b428fdf39d38f335a0ea6fc9be4924ca5.tar.bz2 gnuradio-ab0d7d5b428fdf39d38f335a0ea6fc9be4924ca5.zip |
add tests for the stuff that works, stubs for the rest
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/guile/tests/gengen_ctors.test | 84 |
1 files changed, 74 insertions, 10 deletions
diff --git a/gnuradio-core/src/guile/tests/gengen_ctors.test b/gnuradio-core/src/guile/tests/gengen_ctors.test index de4ecb35e..ead12a729 100644 --- a/gnuradio-core/src/guile/tests/gengen_ctors.test +++ b/gnuradio-core/src/guile/tests/gengen_ctors.test @@ -31,34 +31,98 @@ ;;; Add test code for all constructors in these files ;;; + ;;; ./gengen/gr_add_cc.h +;; (pass-if (true? (gr:add-cc 0))) FIXME: throws gr_io_signature(3) + ;;; ./gengen/gr_add_const_cc.h +(pass-if (true? (gr:add-const-cc 0))) + ;;; ./gengen/gr_add_const_ff.h +(pass-if (true? (gr:add-const-ff 0))) + ;;; ./gengen/gr_add_const_ii.h +(pass-if (true? (gr:add-const-ii 0))) + ;;; ./gengen/gr_add_const_sf.h +(pass-if (true? (gr:add-const-sf 0))) + ;;; ./gengen/gr_add_const_ss.h -;;; ./gengen/gr_add_const_vcc.h -;;; ./gengen/gr_add_const_vff.h -;;; ./gengen/gr_add_const_vii.h -;;; ./gengen/gr_add_const_vss.h +(pass-if (true? (gr:add-const-ss 0))) + +;;; ./gengen/gr_add_const_vcc.h FIXME: needs complex +;; gr_make_add_const_vcc (const std::vector<gr_complex> &k); +;; (pass-if (true? (gr:add-const-vcc 0))) + +;;; ./gengen/gr_add_const_vff.h FIXME: needs vector +;; gr_make_add_const_vff (const std::vector<float> &k); +;; (pass-if (true? (gr:add-const-vff ))) + +;;; ./gengen/gr_add_const_vii.h FIXME: needs vector +;; gr_make_add_const_vii (const std::vector<int> &k); +;; (pass-if (true? (gr:add-const-vii ))) + +;;; ./gengen/gr_add_const_vss.h FIXME: needs vector +;; (pass-if (true? (gr:add-const-vss ))) + ;;; ./gengen/gr_add_ff.h +;; (pass-if (true? (gr:add-ff 0))) FIXME: throws gr_io_signature(3) + ;;; ./gengen/gr_add_ii.h +;; (pass-if (true? (gr:add-ii 0))) FIXME: throws gr_io_signature(3) + ;;; ./gengen/gr_add_ss.h +;; (pass-if (true? (gr:add-ss 0 ))) FIXME: throws gr_io_signature(3) + ;;; ./gengen/gr_and_bb.h +(pass-if (true? (gr:and-bb))) + ;;; ./gengen/gr_and_const_bb.h +(pass-if (true? (gr:and-const-bb 0))) + ;;; ./gengen/gr_and_const_ii.h +(pass-if (true? (gr:and-const-ii 0))) + ;;; ./gengen/gr_and_const_ss.h +(pass-if (true? (gr:and-const-ss 0))) + ;;; ./gengen/gr_and_ii.h +(pass-if (true? (gr:and-ii))) + ;;; ./gengen/gr_and_ss.h +(pass-if (true? (gr:and-ss))) + ;;; ./gengen/gr_argmax_fs.h +(pass-if (true? (gr:argmax-fs 1))) + ;;; ./gengen/gr_argmax_is.h +(pass-if (true? (gr:argmax-is 1))) + ;;; ./gengen/gr_argmax_ss.h -;;; ./gengen/gr_chunks_to_symbols_bc.h -;;; ./gengen/gr_chunks_to_symbols_bf.h -;;; ./gengen/gr_chunks_to_symbols_ic.h -;;; ./gengen/gr_chunks_to_symbols_if.h -;;; ./gengen/gr_chunks_to_symbols_sc.h -;;; ./gengen/gr_chunks_to_symbols_sf.h +(pass-if (true? (gr:argmax-ss 1))) + +;;; ./gengen/gr_chunks_to_symbols_bc.h FIXME: needs vector +;; gr_make_chunks_to_symbols_bc (const std::vector<gr_complex> &symbol_table, const int D = 1); +;; (pass-if (true? (gr:chunks-to-symbols-bc ))) + +;;; ./gengen/gr_chunks_to_symbols_bf.h FIXME: needs vector +;; gr_make_chunks_to_symbols_bf (const std::vector<float> &symbol_table, const int D = 1); +;; (pass-if (true? (gr:chunks-to-symbols-bf ))) + +;;; ./gengen/gr_chunks_to_symbols_ic.h FIXME: needs vector +;; gr_make_chunks_to_symbols_ic (const std::vector<gr_complex> &symbol_table, const int D = 1); +;; (pass-if (true? (gr:chunks-to-symbols-ic ))) + +;;; ./gengen/gr_chunks_to_symbols_if.h FIXME: needs vector +;; gr_make_chunks_to_symbols_if (const std::vector<float> &symbol_table, const int D = 1); +;; (pass-if (true? (gr:chunks_to_symbols_if ))) + +;;; ./gengen/gr_chunks_to_symbols_sc.h FIXME: needs vector +;; (pass-if (true? (gr:chunks_to_symbols_sc ))) + +;;; ./gengen/gr_chunks_to_symbols_sf.h FIXME: needs vector +;; (pass-if (true? (gr:chunks_to_symbols_sf ))) + ;;; ./gengen/gr_divide_cc.h ;;; ./gengen/gr_divide_ff.h ;;; ./gengen/gr_divide_ii.h |