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

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

jigs.TestBlock(radio.FMDeemphasisFilterBlock, {
    {
        desc = "5e-6 tau, 256 Float32 input, 256 Float32 output",
        args = {5e-06},
        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, -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})},
        outputs = {radio.types.Float32.vector_from_array({-0.71842599, 0.65742165, 0.56661868, -0.50968683, 0.00155408, -0.10971232, 0.30447468, 0.57138556, -0.78202057, -0.97020054, 0.66911459, -0.11797695, 0.49707407, -0.94256097, -0.17615595, 0.49795720, -0.57811248, 0.89975381, 0.79550642, -0.90113539, -0.98528826, 0.09960687, 0.84813267, -0.18888389, -0.60801470, -0.12322147, -0.95951080, -0.54641050, -0.14166780, 0.00641965, -0.53887635, -0.53332102, -0.56678551, -0.08505886, -0.41035464, -0.95732284, 0.64677674, 0.15016730, 0.24562331, -0.57455713, 0.90500176, 0.80182290, -0.81130701, -0.29082891, 0.38706720, 0.47668278, 0.81257612, -0.07952999, 0.57216305, 0.43104273, -0.46762630, 0.23692702, 0.69500178, 0.76116800, -0.04381239, 0.22753286, -0.95925671, -0.49452117, 0.55602574, -0.12049298, -0.69459915, 0.12358227, 0.37559083, 0.37939438, -0.26941586, -0.10617364, -0.00093186, 0.56455904, 0.04351930, -0.21058878, -0.02680015, -0.91871536, -0.93487132, 0.40465906, 0.95857638, 0.20759413, -0.22626975, -0.63846242, -0.02728989, 0.97794658, 0.53516990, 0.09301701, 0.69601583, -0.48988000, -0.02650954, 0.94167644, 0.13330184, -0.05606291, -0.47954279, 0.10366653, 0.89245504, -0.93414432, 0.48745474, 0.71672809, 0.69695640, 0.55887842, 0.54073268, 0.12238384, 0.03917622, -0.06246183, -0.95711374, 0.77835035, 0.11355525, -0.56180227, -0.03843580, 0.01674041, -0.32716125, -0.26815796, 0.03190621, 0.28746092, 0.18623286, -0.04097189, -0.97017038, -0.52267098, -0.66121924, 0.16970643, 0.71154487, 0.60918099, 0.58237135, 0.64360362, -0.48004979, 0.65385324, 0.38074669, -0.84611493, -0.95213979, -0.98477536, 0.49854699, -0.47092080, -0.80500990, 0.25464463, -0.30616736, -0.85612297, -0.68859076, 0.04940715, -0.64592385, -0.47501326, 0.42787823, -0.08610501, -0.35566834, -0.05810651, -0.93146646, -0.26015326, -0.12727113, -0.64554608, -0.75882649, 0.74902630, 0.08275570, -0.63156956, 0.24536903, 0.59377801, -0.89150536, -1.02867675, -0.64945132, 0.36196160, -0.58687025, 0.30066743, 0.46201062, -0.00785344, -0.45357323, 0.82313406, 0.72542375, -0.08216325, -0.43199116, 0.16472621, -0.07365507, 0.01358319, -0.21530707, 0.11380975, -0.71944511, -0.56847221, 1.07215607, 0.62275440, -0.24342526, 0.55888194, -0.20742428, 0.69067037, 0.67585564, -0.33770430, -0.32545403, -1.13833487, 0.87670207, -1.00970399, 0.69390464, 0.86624438, 0.21044479, -0.71038491, 0.76264334, 0.91769689, 0.44632798, -0.01233331, -0.21043938, -0.33748952, -0.55326706, 0.29787806, -0.07696945, -0.65849525, -0.74290967, 0.26564017, -0.33091334, -0.08179573, -0.26464376, 0.64236081, 0.89570892, -1.02580941, -0.54489732, -0.40049714, 1.00494850, 0.54281479, -0.28443143, -0.60557556, 0.36322308, 0.65585691, 0.87991405, -0.30662405, 0.74038935, 0.40462101, -0.05321700, 0.97484899, -0.50803745, 0.41180187, -0.77037358, -0.72174710, 0.85491997, -0.58132774, 0.50605398, 0.21775092, 0.65707594, -0.22286214, -0.35793623, -0.37869161, 0.67708439, 0.27294630, 0.83360898, 0.84925640, -0.77499247, 0.13181162, -0.80418497, -0.90714842, -0.86887342, 0.71920204, 0.59164828, 0.64071918, -0.28535402, 0.18903886, 0.59783119, -0.26256081, 0.15277685, -0.55119848, -0.83285087, -0.47658542, 0.76929259, 0.15217163, 0.81500489, -0.03414902, -0.48783496, 0.59683579})}
    },
    {
        desc = "1e-6 tau, 256 Float32 input, 256 Float32 output",
        args = {1e-06},
        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, -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})},
        outputs = {radio.types.Float32.vector_from_array({-0.67111915, 0.52730089, 0.68131191, -0.53463900, -0.01126291, -0.09167726, 0.26213333, 0.58918566, -0.70777339, -1.01984167, 0.60264367, -0.01061320, 0.36687341, -0.73898333, -0.39670828, 0.63783658, -0.62412280, 0.84088045, 0.85155869, -0.83624601, -1.03396106, 0.06883428, 0.82455391, -0.10089885, -0.65392607, -0.11678579, -0.90981984, -0.61512834, -0.11090648, -0.02903223, -0.47335023, -0.58843291, -0.51853669, -0.15709068, -0.32875305, -0.98948312, 0.56801963, 0.24866837, 0.15704150, -0.44654119, 0.70062053, 0.97937459, -0.85342777, -0.28990999, 0.34166148, 0.50871766, 0.76369363, 0.02005392, 0.44604951, 0.54570121, -0.50424641, 0.22112924, 0.67803735, 0.77098465, 0.00099219, 0.17223178, -0.83490592, -0.62901628, 0.59921825, -0.11203238, -0.66386420, 0.04402817, 0.42546290, 0.33747652, -0.19167131, -0.18187723, 0.05538746, 0.48026869, 0.14825201, -0.28135899, 0.02022525, -0.89927369, -0.95005071, 0.32913601, 0.98520052, 0.23480061, -0.22043137, -0.61619830, -0.08613564, 0.96091866, 0.57855237, 0.08588642, 0.66226715, -0.38359478, -0.14582127, 0.97760665, 0.15651236, -0.06298570, -0.44587368, 0.03713337, 0.89610249, -0.81691408, 0.29590133, 0.86167109, 0.57716054, 0.66805828, 0.45070934, 0.22514440, -0.04119971, 0.01138374, -0.95989978, 0.66640145, 0.25086230, -0.63204950, -0.01420783, -0.00713495, -0.28456855, -0.30762881, 0.04512494, 0.25958914, 0.21618499, -0.05103552, -0.90057659, -0.61028242, -0.57889801, 0.04621358, 0.77904248, 0.55952817, 0.62562096, 0.60343724, -0.37250113, 0.48933282, 0.53618461, -0.89519489, -0.90415269, -1.02271891, 0.43257466, -0.35196450, -0.88239717, 0.24952455, -0.26496133, -0.85433662, -0.70111489, 0.01127529, -0.56827921, -0.55113840, 0.43202621, -0.05572587, -0.36329949, -0.07132459, -0.86291409, -0.36163235, -0.05123682, -0.67494434, -0.72680539, 0.62298423, 0.23193450, -0.70916951, 0.25245816, 0.56491315, -0.76958650, -1.12150574, -0.59686518, 0.25142726, -0.43204185, 0.11286808, 0.60829014, -0.09912835, -0.34796467, 0.65083122, 0.87581432, -0.15463455, -0.34840703, 0.05560030, 0.03321495, -0.08144963, -0.12083659, 0.01320938, -0.58052689, -0.69447762, 1.06939995, 0.65464926, -0.21303691, 0.48066270, -0.09161360, 0.53477460, 0.80707985, -0.38059947, -0.29042238, -1.11407685, 0.72374892, -0.75769812, 0.37117836, 1.12452936, 0.03783442, -0.50553679, 0.49449992, 1.13151693, 0.29872307, 0.14119034, -0.32566130, -0.23285726, -0.62647730, 0.30299807, -0.05656426, -0.63725126, -0.75510025, 0.20941433, -0.24465568, -0.17026661, -0.17868745, 0.51082122, 0.98892593, -0.97716302, -0.61720777, -0.34959126, 0.86987174, 0.68609995, -0.34967172, -0.52992159, 0.23622197, 0.74269521, 0.79260820, -0.15555029, 0.54522586, 0.58978695, -0.17777283, 1.01121759, -0.44077805, 0.29503819, -0.59497547, -0.87149161, 0.87620926, -0.50454080, 0.37029782, 0.35015738, 0.51752365, -0.04832619, -0.49486417, -0.26292360, 0.51084131, 0.43845165, 0.65841323, 0.99459958, -0.78947133, 0.08419736, -0.70277059, -0.98509878, -0.80626738, 0.56232423, 0.73111653, 0.52096421, -0.12432054, 0.02325994, 0.70941895, -0.29913586, 0.15598567, -0.50752413, -0.85079396, -0.48505354, 0.69432920, 0.25543857, 0.68508071, 0.13031572, -0.59536862, 0.61525542})}
    },
}, {epsilon = 1.0e-06})
