Skip to content

Unit test fails on clean build #162

Description

@cpchen

I used ./build.sh on a MacBook M4 on master (f979e51) and got the following test error at the end of build:

NOTES TEST
  Case 0: done in 2.3917e-05 seconds
  Case 1: done in 9.25e-06 seconds
  Case 2: done in 0.000153042 seconds
  Case 3: done in 0.000125833 seconds
  Case 4: done in 0.00116792 seconds
  Case 5: done in 0.00112271 seconds
FAIL: Got 16 elements in array, expected 9
FAIL: Element 0 is:
	{"amplitude":0.6593104026147297,"bends":[],"endFrame":67,"endTime":0.7778684807256235,"pitch":46,"startFrame":11,"startTime":0.12770975056689343}
Expecting:
	{"amplitude":0.4215792665878932,"bends":[],"endFrame":80,"endTime":0.9287981859410431,"pitch":70,"startFrame":74,"startTime":0.8591383219954648}
FAIL: Element 1 is:
	{"amplitude":0.4846825975179672,"bends":[],"endFrame":68,"endTime":0.7894784580498866,"pitch":53,"startFrame":18,"startTime":0.2089795918367347}
Expecting:
	{"amplitude":0.6755908370018006,"bends":[],"endFrame":101,"endTime":1.172607709750567,"pitch":65,"startFrame":86,"startTime":0.9984580498866213}
FAIL: Element 2 is:
	{"amplitude":0.6928488252491787,"bends":[],"endFrame":55,"endTime":0.6385487528344671,"pitch":62,"startFrame":26,"startTime":0.301859410430839}
Expecting:
	{"amplitude":0.6647500693798065,"bends":[],"endFrame":124,"endTime":1.4396371882086167,"pitch":68,"startFrame":112,"startTime":1.3003174603174603}
FAIL: Element 3 is:
	{"amplitude":0.5168130661165992,"bends":[],"endFrame":70,"endTime":0.8126984126984127,"pitch":56,"startFrame":27,"startTime":0.313469387755102}
Expecting:
	{"amplitude":0.7124760150909424,"bends":[],"endFrame":149,"endTime":1.7298866213151927,"pitch":65,"startFrame":142,"startTime":1.6486167800453515}
FAIL: Element 4 is:
	{"amplitude":0.5651498213410378,"bends":[],"endFrame":75,"endTime":0.8707482993197279,"pitch":63,"startFrame":67,"startTime":0.7778684807256235}
Expecting:
	{"amplitude":0.6599932206528527,"bends":[],"endFrame":163,"endTime":1.8924263038548752,"pitch":66,"startFrame":149,"startTime":1.7298866213151927}
FAIL: Element 5 is:
	{"amplitude":0.4215792665878932,"bends":[],"endFrame":80,"endTime":0.9287981859410431,"pitch":70,"startFrame":74,"startTime":0.8591383219954648}
Expecting:
	{"amplitude":0.6133744219938914,"bends":[],"endFrame":218,"endTime":2.5206489795918365,"pitch":70,"startFrame":203,"startTime":2.346499319727891}
FAIL: Element 6 is:
	{"amplitude":0.6755908370018006,"bends":[],"endFrame":101,"endTime":1.172607709750567,"pitch":65,"startFrame":86,"startTime":0.9984580498866213}
Expecting:
	{"amplitude":0.64873206615448,"bends":[],"endFrame":239,"endTime":2.7644585034013605,"pitch":73,"startFrame":226,"startTime":2.613528798185941}
FAIL: Element 7 is:
	{"amplitude":0.6647500693798065,"bends":[],"endFrame":124,"endTime":1.4396371882086167,"pitch":68,"startFrame":112,"startTime":1.3003174603174603}
Expecting:
	{"amplitude":0.5161605510446761,"bends":[],"endFrame":273,"endTime":3.159197732426304,"pitch":70,"startFrame":264,"startTime":3.0547079365079366}
FAIL: Element 8 is:
	{"amplitude":0.6776776065429052,"bends":[],"endFrame":163,"endTime":1.8924263038548752,"pitch":61,"startFrame":139,"startTime":1.6137868480725623}
Expecting:
	{"amplitude":0.6950236968696117,"bends":[],"endFrame":273,"endTime":3.159197732426304,"pitch":65,"startFrame":265,"startTime":3.0663179138321994}```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions