amazon-ion / ion-element-kotlin

IonElement is an immutable in-memory representation of the Ion data format. IonElement's API is idiomatic to Kotlin.
Apache License 2.0
8 stars 8 forks source link

Add `bigIntegerValue` impl for `LongIntElementImpl` #49

Closed alancai98 closed 3 years ago

alancai98 commented 3 years ago

Fixes #48.

Implements AnyElement.bigIntegerValue for LongIntElementImpl.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-io commented 3 years ago

Codecov Report

Merging #49 (f8418f1) into master (7d926bc) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #49      +/-   ##
============================================
+ Coverage     81.05%   81.09%   +0.03%     
- Complexity      501      502       +1     
============================================
  Files            29       29              
  Lines           586      587       +1     
  Branches         85       85              
============================================
+ Hits            475      476       +1     
  Misses           62       62              
  Partials         49       49              
Impacted Files Coverage Δ Complexity Δ
...c/com/amazon/ionelement/impl/LongIntElementImpl.kt 84.21% <100.00%> (+0.87%) 14.00 <1.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7d926bc...f8418f1. Read the comment docs.