-- Do not edit! This file was generated by blocks/signal/interleave_spec.py

local radio = require('radio')
local jigs = require('tests.jigs')

jigs.TestBlock(radio.InterleaveBlock, {
    {
        desc = "Interleave 2 channels, Float32 input",
        args = {2},
        inputs = {radio.types.Float32.vector_from_array({-0.73127151, 0.69486749, 0.52754927, -0.48986191, -0.00912983, -0.10101787, 0.30318594, 0.57744670, -0.81228077, -0.94330502, 0.67153019, -0.13446586, 0.52456015, -0.99578792, -0.10922561, 0.44308007, -0.54247558, 0.89054137, 0.80285490, -0.93882000, -0.94910830, 0.08282494, 0.87829834, -0.23759152, -0.56680119, -0.15576684, -0.94191837, -0.55661666, -0.12422481, -0.00837552, -0.53383112, -0.53826690}), radio.types.Float32.vector_from_array({-0.56243795, -0.08079307, -0.42043677, -0.95702058, 0.67515594, 0.11290865, 0.28458872, -0.62818748, 0.98508680, 0.71989304, -0.75822008, -0.33460963, 0.44296879, 0.42238355, 0.87288117, -0.15578599, 0.66007137, 0.34061113, -0.39326301, 0.17516121, 0.76495802, 0.69239485, 0.01056764, 0.17800452, -0.93094832, -0.51452005, 0.59480852, -0.17137200, -0.65398520, 0.09759752, 0.40608153, 0.34897169})},
        outputs = {radio.types.Float32.vector_from_array({-0.73127151, -0.56243795, 0.69486749, -0.08079307, 0.52754927, -0.42043677, -0.48986191, -0.95702058, -0.00912983, 0.67515594, -0.10101787, 0.11290865, 0.30318594, 0.28458872, 0.57744670, -0.62818748, -0.81228077, 0.98508680, -0.94330502, 0.71989304, 0.67153019, -0.75822008, -0.13446586, -0.33460963, 0.52456015, 0.44296879, -0.99578792, 0.42238355, -0.10922561, 0.87288117, 0.44308007, -0.15578599, -0.54247558, 0.66007137, 0.89054137, 0.34061113, 0.80285490, -0.39326301, -0.93882000, 0.17516121, -0.94910830, 0.76495802, 0.08282494, 0.69239485, 0.87829834, 0.01056764, -0.23759152, 0.17800452, -0.56680119, -0.93094832, -0.15576684, -0.51452005, -0.94191837, 0.59480852, -0.55661666, -0.17137200, -0.12422481, -0.65398520, -0.00837552, 0.09759752, -0.53383112, 0.40608153, -0.53826690, 0.34897169})}
    },
    {
        desc = "Interleave 3 channels, Float32 input",
        args = {3},
        inputs = {radio.types.Float32.vector_from_array({-0.73127151, 0.69486749, 0.52754927, -0.48986191, -0.00912983, -0.10101787, 0.30318594, 0.57744670, -0.81228077, -0.94330502, 0.67153019, -0.13446586, 0.52456015, -0.99578792, -0.10922561, 0.44308007, -0.54247558, 0.89054137, 0.80285490, -0.93882000, -0.94910830, 0.08282494, 0.87829834, -0.23759152, -0.56680119, -0.15576684, -0.94191837, -0.55661666, -0.12422481, -0.00837552, -0.53383112, -0.53826690}), radio.types.Float32.vector_from_array({-0.56243795, -0.08079307, -0.42043677, -0.95702058, 0.67515594, 0.11290865, 0.28458872, -0.62818748, 0.98508680, 0.71989304, -0.75822008, -0.33460963, 0.44296879, 0.42238355, 0.87288117, -0.15578599, 0.66007137, 0.34061113, -0.39326301, 0.17516121, 0.76495802, 0.69239485, 0.01056764, 0.17800452, -0.93094832, -0.51452005, 0.59480852, -0.17137200, -0.65398520, 0.09759752, 0.40608153, 0.34897169}), radio.types.Float32.vector_from_array({-0.25059396, -0.12207674, 0.01685298, 0.55688524, 0.04187684, -0.21348982, -0.02061296, -0.94085008, -0.91302544, 0.40676415, 0.96637541, 0.18636747, -0.21280062, -0.65930158, 0.00447712, 0.96415329, 0.54104626, 0.07923490, 0.72057962, -0.53564775, 0.02754333, 0.90493482, 0.15558961, -0.08173654, -0.46144104, 0.09599262, 0.91423255, -0.98858166, 0.56731045, 0.64097184, 0.77235913, 0.48100683})},
        outputs = {radio.types.Float32.vector_from_array({-0.73127151, -0.56243795, -0.25059396, 0.69486749, -0.08079307, -0.12207674, 0.52754927, -0.42043677, 0.01685298, -0.48986191, -0.95702058, 0.55688524, -0.00912983, 0.67515594, 0.04187684, -0.10101787, 0.11290865, -0.21348982, 0.30318594, 0.28458872, -0.02061296, 0.57744670, -0.62818748, -0.94085008, -0.81228077, 0.98508680, -0.91302544, -0.94330502, 0.71989304, 0.40676415, 0.67153019, -0.75822008, 0.96637541, -0.13446586, -0.33460963, 0.18636747, 0.52456015, 0.44296879, -0.21280062, -0.99578792, 0.42238355, -0.65930158, -0.10922561, 0.87288117, 0.00447712, 0.44308007, -0.15578599, 0.96415329, -0.54247558, 0.66007137, 0.54104626, 0.89054137, 0.34061113, 0.07923490, 0.80285490, -0.39326301, 0.72057962, -0.93882000, 0.17516121, -0.53564775, -0.94910830, 0.76495802, 0.02754333, 0.08282494, 0.69239485, 0.90493482, 0.87829834, 0.01056764, 0.15558961, -0.23759152, 0.17800452, -0.08173654, -0.56680119, -0.93094832, -0.46144104, -0.15576684, -0.51452005, 0.09599262, -0.94191837, 0.59480852, 0.91423255, -0.55661666, -0.17137200, -0.98858166, -0.12422481, -0.65398520, 0.56731045, -0.00837552, 0.09759752, 0.64097184, -0.53383112, 0.40608153, 0.77235913, -0.53826690, 0.34897169, 0.48100683})}
    },
    {
        desc = "Interleave 2 channels, ComplexFloat32 input",
        args = {2},
        inputs = {radio.types.ComplexFloat32.vector_from_array({{0.61827981, 0.03735657}, {0.12271573, -0.14781864}, {-0.88775343, 0.74002033}, {0.13999867, -0.60032117}, {0.00944094, -0.03014978}, {-0.28642008, -0.30784416}, {0.07695759, 0.24697889}, {0.22490492, -0.08370640}, {-0.94405001, -0.54078996}, {-0.64557749, 0.16892174}, {0.72201771, 0.59687787}, {0.59419513, 0.63287473}, {-0.48941192, 0.68348968}, {0.34622705, -0.83353174}, {-0.96661872, -0.97087997}, {0.51117355, -0.50088155}, {-0.78102273, 0.24960417}, {-0.31115428, -0.86096931}, {-0.68074894, 0.05476080}, {-0.66371012, -0.45417112}, {0.42317989, -0.09059674}, {-0.35599643, -0.05245798}, {-0.95273077, -0.22688580}, {-0.15816264, -0.62392139}, {-0.78247666, 0.79963702}, {0.02023196, -0.58181804}, {0.21129727, 0.63407934}, {-0.95836377, -0.96427095}, {-0.70707649, 0.43767095}, {-0.67954481, 0.40921125}, {0.35635161, 0.08940433}, {-0.55880052, 0.95118904}}), radio.types.ComplexFloat32.vector_from_array({{0.59562171, 0.03319904}, {-0.55360842, 0.29701284}, {-0.21020398, 0.15169193}, {-0.35750839, 0.26189572}, {-0.88242978, -0.40278813}, {0.93580663, 0.75106847}, {-0.38722676, 0.71702880}, {-0.37927276, 0.87857687}, {0.48768425, -0.16765547}, {-0.49528381, -0.98303950}, {0.75743574, -0.92416686}, {0.63882822, 0.92440224}, {0.14056113, -0.65696579}, {0.73556215, 0.94755048}, {0.40804628, 0.01774749}, {-0.24406233, -0.30613822}, {-0.58847648, 0.34830603}, {-0.13409975, -0.61176270}, {-0.79115158, 0.33191505}, {-0.40785465, -0.00040016}, {-0.34930867, 0.74324304}, {0.79935658, -0.96381402}, {-0.59829396, -0.34451860}, {0.97409946, 0.56540078}, {-0.32180870, -0.57394040}, {0.34891015, 0.67540216}, {0.86437494, -0.31230038}, {0.76478642, 0.37422037}, {-0.03100256, 0.97101647}, {-0.53071910, 0.45093039}, {-0.83063954, -0.66061169}, {0.82197559, -0.57406360}})},
        outputs = {radio.types.ComplexFloat32.vector_from_array({{0.61827981, 0.03735657}, {0.59562171, 0.03319904}, {0.12271573, -0.14781864}, {-0.55360842, 0.29701284}, {-0.88775343, 0.74002033}, {-0.21020398, 0.15169193}, {0.13999867, -0.60032117}, {-0.35750839, 0.26189572}, {0.00944094, -0.03014978}, {-0.88242978, -0.40278813}, {-0.28642008, -0.30784416}, {0.93580663, 0.75106847}, {0.07695759, 0.24697889}, {-0.38722676, 0.71702880}, {0.22490492, -0.08370640}, {-0.37927276, 0.87857687}, {-0.94405001, -0.54078996}, {0.48768425, -0.16765547}, {-0.64557749, 0.16892174}, {-0.49528381, -0.98303950}, {0.72201771, 0.59687787}, {0.75743574, -0.92416686}, {0.59419513, 0.63287473}, {0.63882822, 0.92440224}, {-0.48941192, 0.68348968}, {0.14056113, -0.65696579}, {0.34622705, -0.83353174}, {0.73556215, 0.94755048}, {-0.96661872, -0.97087997}, {0.40804628, 0.01774749}, {0.51117355, -0.50088155}, {-0.24406233, -0.30613822}, {-0.78102273, 0.24960417}, {-0.58847648, 0.34830603}, {-0.31115428, -0.86096931}, {-0.13409975, -0.61176270}, {-0.68074894, 0.05476080}, {-0.79115158, 0.33191505}, {-0.66371012, -0.45417112}, {-0.40785465, -0.00040016}, {0.42317989, -0.09059674}, {-0.34930867, 0.74324304}, {-0.35599643, -0.05245798}, {0.79935658, -0.96381402}, {-0.95273077, -0.22688580}, {-0.59829396, -0.34451860}, {-0.15816264, -0.62392139}, {0.97409946, 0.56540078}, {-0.78247666, 0.79963702}, {-0.32180870, -0.57394040}, {0.02023196, -0.58181804}, {0.34891015, 0.67540216}, {0.21129727, 0.63407934}, {0.86437494, -0.31230038}, {-0.95836377, -0.96427095}, {0.76478642, 0.37422037}, {-0.70707649, 0.43767095}, {-0.03100256, 0.97101647}, {-0.67954481, 0.40921125}, {-0.53071910, 0.45093039}, {0.35635161, 0.08940433}, {-0.83063954, -0.66061169}, {-0.55880052, 0.95118904}, {0.82197559, -0.57406360}})}
    },
    {
        desc = "Interleave 3 channels, ComplexFloat32 input",
        args = {3},
        inputs = {radio.types.ComplexFloat32.vector_from_array({{0.61827981, 0.03735657}, {0.12271573, -0.14781864}, {-0.88775343, 0.74002033}, {0.13999867, -0.60032117}, {0.00944094, -0.03014978}, {-0.28642008, -0.30784416}, {0.07695759, 0.24697889}, {0.22490492, -0.08370640}, {-0.94405001, -0.54078996}, {-0.64557749, 0.16892174}, {0.72201771, 0.59687787}, {0.59419513, 0.63287473}, {-0.48941192, 0.68348968}, {0.34622705, -0.83353174}, {-0.96661872, -0.97087997}, {0.51117355, -0.50088155}, {-0.78102273, 0.24960417}, {-0.31115428, -0.86096931}, {-0.68074894, 0.05476080}, {-0.66371012, -0.45417112}, {0.42317989, -0.09059674}, {-0.35599643, -0.05245798}, {-0.95273077, -0.22688580}, {-0.15816264, -0.62392139}, {-0.78247666, 0.79963702}, {0.02023196, -0.58181804}, {0.21129727, 0.63407934}, {-0.95836377, -0.96427095}, {-0.70707649, 0.43767095}, {-0.67954481, 0.40921125}, {0.35635161, 0.08940433}, {-0.55880052, 0.95118904}}), radio.types.ComplexFloat32.vector_from_array({{0.59562171, 0.03319904}, {-0.55360842, 0.29701284}, {-0.21020398, 0.15169193}, {-0.35750839, 0.26189572}, {-0.88242978, -0.40278813}, {0.93580663, 0.75106847}, {-0.38722676, 0.71702880}, {-0.37927276, 0.87857687}, {0.48768425, -0.16765547}, {-0.49528381, -0.98303950}, {0.75743574, -0.92416686}, {0.63882822, 0.92440224}, {0.14056113, -0.65696579}, {0.73556215, 0.94755048}, {0.40804628, 0.01774749}, {-0.24406233, -0.30613822}, {-0.58847648, 0.34830603}, {-0.13409975, -0.61176270}, {-0.79115158, 0.33191505}, {-0.40785465, -0.00040016}, {-0.34930867, 0.74324304}, {0.79935658, -0.96381402}, {-0.59829396, -0.34451860}, {0.97409946, 0.56540078}, {-0.32180870, -0.57394040}, {0.34891015, 0.67540216}, {0.86437494, -0.31230038}, {0.76478642, 0.37422037}, {-0.03100256, 0.97101647}, {-0.53071910, 0.45093039}, {-0.83063954, -0.66061169}, {0.82197559, -0.57406360}}), radio.types.ComplexFloat32.vector_from_array({{0.51823235, 0.20041765}, {0.68226439, -0.26378399}, {-0.31942952, -0.41756943}, {0.73483962, 0.20796506}, {0.90861493, 0.77453023}, {-0.72930807, 0.10234095}, {-0.79145002, -0.92172438}, {-0.85361314, 0.73233670}, {0.57623291, 0.65701193}, {-0.31820506, 0.23037209}, {0.56380719, -0.24392074}, {0.14156306, -0.55257183}, {-0.83651346, -0.46655273}, {0.78153634, 0.12889367}, {0.85013437, -0.08446148}, {-0.44563445, 0.57402933}, {0.65553629, -0.97523654}, {0.34082329, -0.81663376}, {-0.76979506, 0.77012014}, {-0.91995299, -0.52073330}, {0.97631699, -0.15797283}, {-0.76888371, -0.66523314}, {-0.51715940, 0.48801285}, {-0.79433179, 0.82152885}, {-0.24344546, 0.94052809}, {0.81844544, -0.41195285}, {-0.49317971, -0.04597981}, {-0.79974169, 0.30410039}, {-0.92075950, -0.97898769}, {0.96516722, -0.40890029}, {0.19314128, -0.10031093}, {-0.37343827, -0.87407041}})},
        outputs = {radio.types.ComplexFloat32.vector_from_array({{0.61827981, 0.03735657}, {0.59562171, 0.03319904}, {0.51823235, 0.20041765}, {0.12271573, -0.14781864}, {-0.55360842, 0.29701284}, {0.68226439, -0.26378399}, {-0.88775343, 0.74002033}, {-0.21020398, 0.15169193}, {-0.31942952, -0.41756943}, {0.13999867, -0.60032117}, {-0.35750839, 0.26189572}, {0.73483962, 0.20796506}, {0.00944094, -0.03014978}, {-0.88242978, -0.40278813}, {0.90861493, 0.77453023}, {-0.28642008, -0.30784416}, {0.93580663, 0.75106847}, {-0.72930807, 0.10234095}, {0.07695759, 0.24697889}, {-0.38722676, 0.71702880}, {-0.79145002, -0.92172438}, {0.22490492, -0.08370640}, {-0.37927276, 0.87857687}, {-0.85361314, 0.73233670}, {-0.94405001, -0.54078996}, {0.48768425, -0.16765547}, {0.57623291, 0.65701193}, {-0.64557749, 0.16892174}, {-0.49528381, -0.98303950}, {-0.31820506, 0.23037209}, {0.72201771, 0.59687787}, {0.75743574, -0.92416686}, {0.56380719, -0.24392074}, {0.59419513, 0.63287473}, {0.63882822, 0.92440224}, {0.14156306, -0.55257183}, {-0.48941192, 0.68348968}, {0.14056113, -0.65696579}, {-0.83651346, -0.46655273}, {0.34622705, -0.83353174}, {0.73556215, 0.94755048}, {0.78153634, 0.12889367}, {-0.96661872, -0.97087997}, {0.40804628, 0.01774749}, {0.85013437, -0.08446148}, {0.51117355, -0.50088155}, {-0.24406233, -0.30613822}, {-0.44563445, 0.57402933}, {-0.78102273, 0.24960417}, {-0.58847648, 0.34830603}, {0.65553629, -0.97523654}, {-0.31115428, -0.86096931}, {-0.13409975, -0.61176270}, {0.34082329, -0.81663376}, {-0.68074894, 0.05476080}, {-0.79115158, 0.33191505}, {-0.76979506, 0.77012014}, {-0.66371012, -0.45417112}, {-0.40785465, -0.00040016}, {-0.91995299, -0.52073330}, {0.42317989, -0.09059674}, {-0.34930867, 0.74324304}, {0.97631699, -0.15797283}, {-0.35599643, -0.05245798}, {0.79935658, -0.96381402}, {-0.76888371, -0.66523314}, {-0.95273077, -0.22688580}, {-0.59829396, -0.34451860}, {-0.51715940, 0.48801285}, {-0.15816264, -0.62392139}, {0.97409946, 0.56540078}, {-0.79433179, 0.82152885}, {-0.78247666, 0.79963702}, {-0.32180870, -0.57394040}, {-0.24344546, 0.94052809}, {0.02023196, -0.58181804}, {0.34891015, 0.67540216}, {0.81844544, -0.41195285}, {0.21129727, 0.63407934}, {0.86437494, -0.31230038}, {-0.49317971, -0.04597981}, {-0.95836377, -0.96427095}, {0.76478642, 0.37422037}, {-0.79974169, 0.30410039}, {-0.70707649, 0.43767095}, {-0.03100256, 0.97101647}, {-0.92075950, -0.97898769}, {-0.67954481, 0.40921125}, {-0.53071910, 0.45093039}, {0.96516722, -0.40890029}, {0.35635161, 0.08940433}, {-0.83063954, -0.66061169}, {0.19314128, -0.10031093}, {-0.55880052, 0.95118904}, {0.82197559, -0.57406360}, {-0.37343827, -0.87407041}})}
    },
}, {epsilon = 1.0e-06})
