You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the motivation
We move the conversion of rawValuesFp64 to float number test to the frontend unit test. ICD-RxJS tests focus on the protobuf communication between the frontend and the backend, ICD-RxJS tests are only testing the compressed rawValuesFp64.
The conversion of rawValuesFp64 to float number is located in carta-frontend/src/utilities/Processed/Processed.ts line 59 ProcessSpectralProfile
The frontend unit test will test this line:
new Float64Array(profile.rawValuesFp64.slice().buffer)
Expected behavior
An example for the frontend unit test:
Describe the motivation
We move the conversion of rawValuesFp64 to float number test to the frontend unit test. ICD-RxJS tests focus on the protobuf communication between the frontend and the backend, ICD-RxJS tests are only testing the compressed rawValuesFp64.
The conversion of rawValuesFp64 to float number is located in carta-frontend/src/utilities/Processed/Processed.ts line 59 ProcessSpectralProfile
The frontend unit test will test this line:
new Float64Array(profile.rawValuesFp64.slice().buffer)
Expected behavior
An example for the frontend unit test:
Should convert the unit8Array
to actual coordinate
The text was updated successfully, but these errors were encountered: