-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Descripción de la Tarea
We need to expand our test coverage for the ieee754 and binary_to_decimal functions to ensure their robustness. The following tasks are proposed:
Pasos a Seguir
-
Test cases for
ieee754function:- Validate the conversion of edge cases like
+0,-0,+inf,-inf, andNaN. - Add test cases for various normal and subnormal numbers.
- Ensure that rounding errors are within acceptable limits.
- Validate the conversion of edge cases like
-
Test cases for
binary_to_decimalfunction:- Add test cases for integer binary strings of varying lengths.
- Validate the conversion of floating-point binary strings.
- Ensure correct handling of edge cases like
0,1, and long sequences of1s and0s.
- Add test case for
+0inieee754. - Add test case for
-0inieee754. - Add test case for
+infinieee754. - Add test case for
-infinieee754. - Add test case for
NaNinieee754. - Add normal and subnormal numbers test cases in
ieee754. - Add long integer binary string test cases in
binary_to_decimal. - Add floating-point binary string test cases in
binary_to_decimal. - Ensure edge cases are handled correctly in
binary_to_decimal.
Información Adicional
Current test:
https://github.com/proyectosingenieriauninorte/NumericalMethods/tree/main/marlonpy/tests
Metadata
Metadata
Assignees
Labels
No labels