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

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

jigs.TestBlock(radio.ComplexPhaseBlock, {
    {
        desc = "256 ComplexFloat32 input, 256 Float32 output",
        args = {},
        inputs = {radio.types.ComplexFloat32.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}, {-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}, {-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}, {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}, {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}, {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}, {0.82678401, 0.93962657}, {0.93959302, -0.77727538}, {-0.56961346, 0.23561376}, {0.95990574, 0.08582640}, {0.37637961, 0.32366887}, {-0.48182800, 0.08320452}, {-0.38535777, -0.50723761}, {-0.83726245, -0.43842655}, {0.96675342, -0.10419552}, {0.30402106, 0.28693217}, {0.88146901, -0.21904290}, {-0.38643140, -0.34551716}, {-0.36652973, 0.69426954}, {0.78700048, -0.39438137}, {-0.33133319, 0.08845083}, {0.15797088, 0.19192508}, {-0.50980401, -0.95925194}, {-0.51248139, -0.85534495}, {0.10240951, -0.85816729}, {-0.84974039, 0.27076420}, {-0.41835687, 0.58436954}, {-0.01347791, 0.72529793}, {-0.69164079, 0.00285917}, {0.58996701, -0.84578598}, {0.89845592, -0.65351576}, {0.55241799, 0.96979177}, {0.64310026, -0.36043200}, {-0.78624445, 0.02871650}, {0.83871394, -0.41302100}, {0.78751761, -0.71663874}, {0.82096338, -0.93648010}, {-0.36786264, 0.80617654}, {0.60771257, 0.81430751}, {0.68143702, 0.49236977}, {0.37919036, -0.64369029}, {-0.13472399, -0.68420619}, {0.42964891, 0.33555749}, {-0.49482721, -0.87117159}, {0.92677176, 0.61650527}, {0.09853987, 0.08275530}, {0.70258534, -0.09338064}, {-0.20857909, -0.32266170}, {-0.48406181, -0.95118302}, {0.29287767, -0.16663224}, {0.14120726, -0.87535673}, {-0.29011312, -0.72343177}, {-0.74974197, -0.48177409}, {0.65786874, -0.20440537}, {-0.19783570, 0.22488984}, {-0.53294069, -0.98504567}, {0.05740348, 0.00179924}, {0.29767919, -0.12336609}, {0.37302625, 0.46284387}, {-0.52325064, -0.00985550}, {-0.04234622, -0.54987586}, {-0.17550774, 0.12081487}, {0.81387901, 0.83541310}, {-0.44954929, 0.29283035}, {-0.90360534, -0.85689718}, {0.02338342, 0.75484818}, {-0.68106455, 0.53205574}, {0.76601923, -0.37639597}, {0.38511392, 0.69798225}, {-0.25677133, 0.40256533}, {0.47283623, 0.18915559}, {0.71255422, 0.79320872}, {0.92015761, 0.14246538}, {-0.64744818, -0.49880919}, {-0.56476265, 0.13903470}, {0.51550025, -0.89573354}, {0.36327291, 0.43430653}, {-0.30403697, 0.03011161}, {-0.67040372, 0.45979229}, {-0.91858262, 0.96244210}, {0.61588746, 0.25689700}, {-0.46494752, 0.82572573}, {0.91887766, -0.72174770}, {0.55151451, 0.68386173}, {0.31943470, 0.40081555}, {-0.10988253, 0.84861559}, {0.94241506, -0.23529337}, {0.60542303, -0.13415682}, {-0.67049158, -0.34906545}, {-0.74733984, 0.81776953}, {0.91884816, -0.76162654}, {0.20135815, -0.18355180}, {-0.76381993, -0.40904897}, {-0.50356728, 0.49915361}, {-0.99198210, -0.62032259}, {-0.12245386, -0.95793062}, {0.25505316, 0.21125507}, {0.67066473, -0.58678836}, {-0.43043676, 0.08467886}, {-0.45354861, 0.17147619}, {-0.49823555, 0.36705431}, {0.58218145, 0.61730921}, {0.94723225, 0.09075401}, {-0.01838144, 0.71139538}, {0.53813475, 0.14108926}, {-0.23348723, -0.43190512}, {-0.78372163, 0.61509818}, {-0.76385695, 0.49453047}, {0.09057418, 0.92989063}, {0.52213132, 0.94703954}, {-0.72681195, 0.00074295}, {0.14515658, -0.37749708}, {0.00606498, -0.28636247}, {0.05678794, -0.99831057}, {-0.11537134, -0.10089571}, {-0.39040163, -0.20119449}, {0.56617463, 0.36682576}, {-0.01540173, 0.29533648}})},
        outputs = {radio.types.Float32.vector_from_array({2.38171530, -0.74837267, -1.66092980, 1.08731341, -2.28169990, -0.19762439, -1.08595574, 1.81249166, 2.11791849, -0.86330587, 3.05454707, -0.26419032, -2.87339616, -2.60786200, -3.07427216, -2.35205698, -2.99892068, -1.98473203, 0.16570008, -1.14542425, 0.63109386, -2.72598934, 0.76161438, -0.17661376, 0.47638264, 2.72256660, 0.73564816, 1.51149869, -2.63669133, -0.28051582, 2.99345088, 0.70990509, -2.68827820, 1.54054260, -1.37710178, -1.59270167, 2.72247696, 0.19051316, -1.88300693, 1.56615281, 0.14541388, -0.63923585, 1.54036891, -0.48370895, 2.93649006, -0.82445157, 0.84628654, 0.55699855, 0.06034680, -0.87792331, 2.44670439, -1.34168494, -1.26733339, -2.32015872, 1.26873541, -0.35630107, -2.62138295, 2.88567042, 0.69079906, 0.81690967, 2.19221234, -1.17710757, -2.35399532, -0.77522910, 2.83226490, -1.91759074, 3.06132340, -2.54148746, -0.21090205, -2.99529004, -2.90780473, -1.81906414, 2.34534836, -1.53603661, 1.24913454, -2.35312200, 2.58732915, 2.59956861, 0.24581422, 2.10195589, 0.05568085, 2.64917040, 2.51648927, 2.50934792, -2.71338511, 0.67631787, 2.06596327, 1.97831964, -0.33112177, -2.03750229, -0.88422531, 0.96608770, -1.36001921, 0.91068864, 0.04346642, -2.24384546, 2.60716701, -1.78658557, 2.74436069, -3.14061141, 2.01013994, -0.87840277, -2.61913109, 0.52590871, -2.08181763, 1.09396017, -0.34670770, 0.45506197, 1.60271335, 2.43729639, -2.46972132, -0.60964799, 0.36901742, -0.36892781, -2.22381163, 0.27579528, 0.70590287, 3.00217700, -2.28029799, 2.43251514, 0.85080594, 2.51495743, -0.40831679, -1.32000089, -2.63283038, 0.16345210, -0.09902579, 2.23093486, -0.97898525, -1.17542183, 2.35598326, -2.62651563, -0.16041456, -2.42834377, 2.38518286, 2.33936477, 1.82407665, -0.46631268, -3.04863000, 2.77822876, -2.32555366, -0.40073293, -0.47901976, -1.97456312, 0.84919387, -0.69113547, 2.74938488, 0.08917414, 0.71024412, 2.97059393, -2.22048831, -2.65921021, -0.10736435, 0.75648874, -0.24356410, -2.41203403, 2.05654192, -0.46454290, 2.88072181, 0.88213611, -2.05929399, -2.11059189, -1.45202291, 2.83312082, 2.19212151, 1.58937669, 3.13745880, -0.96172529, -0.62886417, 1.05301058, -0.51083845, 3.10508537, -0.45758587, -0.73831099, -0.85103369, 1.99888134, 0.92967147, 0.62569797, -1.03843880, -1.76521468, 0.66305017, -2.08735561, 0.58699900, 0.69855160, -0.13213560, -2.14465976, -2.04154253, -0.51727432, -1.41086018, -1.95218468, -2.57044673, -0.30125186, 2.29228234, -2.06672764, 0.03133349, -0.39288068, 0.89244145, -3.12275982, -1.64765513, 2.53871250, 0.79845399, 2.56424332, -2.38271952, 1.53982854, 2.47841334, -0.45671675, 1.06660807, 2.13857412, 0.38054484, 0.83891088, 0.15360750, -2.48514819, 2.90021014, -1.04858160, 0.87422532, 3.04287529, 2.54043078, 2.33288193, 0.39517459, 2.08362436, -0.66581607, 0.89212221, 0.89791065, 1.69956434, -0.24466865, -0.21806818, -2.66159248, 2.31122494, -0.69211185, -0.73917001, -2.64992619, 2.36059618, -2.58275151, -1.69793844, 0.69174773, -0.71879345, 2.94734550, 2.78012729, 2.50665259, 0.81467533, 0.09551811, 1.59662914, 0.25641084, -2.06639290, 2.47616267, 2.56703854, 1.47369957, 1.06693256, 3.14057040, -1.20370233, -1.54962015, -1.51397347, -2.42302895, -2.66573858, 0.57489902, 1.62289882})}
    },
}, {epsilon = 1.0e-06})
