Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests for ArrayMetadata module. #6

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Add unit tests for ArrayMetadata module. #6

merged 3 commits into from
Jul 1, 2024

Conversation

zoj613
Copy link
Owner

@zoj613 zoj613 commented Jul 1, 2024

This also improves the correctness of serializing/deserializing the
ArrayMetadata type. it also removes unnecessary functions exposed in
the module signature.

  • Add equal functions for comparing various type values.
  • extends the ext_point type into a module with minimum
    functions for serialization and comparison; namely of_yojson, to_yojson and equal.

zoj613 added 3 commits July 1, 2024 16:48
This commit extends the `ext_point` type into a module with minimum
functions for serialization and comparison; namely of_yojson, to_yojson
and equal.
This also improves the correctness of serializing/deserializing the
ArrayMetadata type. it also removes unnecessary functions exposed in
the module signature.
@zoj613 zoj613 added metadata relating to metadata tests relating to tests labels Jul 1, 2024
Copy link

codecov bot commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 63.33333% with 11 lines in your changes missing coverage. Please review.

Project coverage is 29.75%. Comparing base (a390d11) to head (a3cf73f).

Files Patch % Lines
lib/codecs/array_to_bytes.ml 57.14% 3 Missing ⚠️
lib/metadata.ml 72.72% 3 Missing ⚠️
lib/codecs/array_to_array.ml 0.00% 2 Missing ⚠️
lib/codecs/bytes_to_bytes.ml 0.00% 1 Missing ⚠️
lib/extensions.ml 80.00% 1 Missing ⚠️
lib/util.ml 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #6       +/-   ##
===========================================
+ Coverage   12.92%   29.75%   +16.82%     
===========================================
  Files           9        9               
  Lines         704      726       +22     
===========================================
+ Hits           91      216      +125     
+ Misses        613      510      -103     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zoj613 zoj613 merged commit 96fbe65 into main Jul 1, 2024
4 checks passed
@zoj613 zoj613 deleted the array_metadata branch July 1, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata relating to metadata tests relating to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant