Skip to content

Spurious test fails in Decibels #161

@pmglr

Description

@pmglr
Randomness seeded to: 760312143

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vctr_test.exe is a Catch2 v3.8.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
Fast decibel approximations - PlatformVectorOps<float>
-------------------------------------------------------------------------------
D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(67)
...............................................................................

D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(77): FAILED:
  REQUIRE_THAT( dBFS, vctr::EqualsTransformedBy<magToDbFS> (srcD).withEpsilon (0.005) )
with expansion:
  vctr::Vector<float> with size 10 and content [ -9.22018, -6.08035, -8.16329,
  4.41211, 0.000587088, -7.40339, 0.055159, 1.85402, 4.3777, -100 ] 
  Equals: magToDbFS ([ 0.345932, 0.49658, 0.390704, 1.66201, 1.00007, 0.426447,
  1.00639, 1.238, 1.65543, 0 ])
   = [ -9.22018, -6.08022, -8.16305, 4.41268, 0.000616064, -7.40271, 0.055288,
  1.85444, 4.37822, -100 ]

-------------------------------------------------------------------------------
Fast decibel approximations - AVX<float>
-------------------------------------------------------------------------------
D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(67)
...............................................................................

D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(77): FAILED:
  REQUIRE_THAT( dBFS, vctr::EqualsTransformedBy<magToDbFS> (srcD).withEpsilon (0.005) )
with expansion:
  vctr::Vector<float> with size 10 and content [ -9.22018, -6.08035, -8.16329,
  4.41211, 0.000587088, -7.40339, 0.055159, 1.85402, 4.3777, -100 ] 
  Equals: magToDbFS ([ 0.345932, 0.49658, 0.390704, 1.66201, 1.00007, 0.426447,
  1.00639, 1.238, 1.65543, 0 ])
   = [ -9.22018, -6.08022, -8.16305, 4.41268, 0.000616064, -7.40271, 0.055288,
  1.85444, 4.37822, -100 ]

-------------------------------------------------------------------------------
Fast decibel approximations - SSE<float>
-------------------------------------------------------------------------------
D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(67)
...............................................................................

D:\a\VCTR\VCTR\test\TestCases\Expressions\Decibels.cpp(77): FAILED:
  REQUIRE_THAT( dBFS, vctr::EqualsTransformedBy<magToDbFS> (srcD).withEpsilon (0.005) )
with expansion:
  vctr::Vector<float> with size 10 and content [ -9.22018, -6.08035, -8.16329,
  4.41211, 0.000587088, -7.40339, 0.055159, 1.85402, 4.3777, -100 ] 
  Equals: magToDbFS ([ 0.345932, 0.49658, 0.390704, 1.66201, 1.00007, 0.426447,
  1.00639, 1.238, 1.65543, 0 ])
   = [ -9.22018, -6.08022, -8.16305, 4.41268, 0.000616064, -7.40271, 0.055288,
  1.85444, 4.37822, -100 ]

===============================================================================
test cases:  909 |  906 passed | 3 failed
assertions: 4739 | 4736 passed | 3 failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions