heckj / CRDT

Conflict-free Replicated Data Types in Swift
https://swiftpackageindex.com/heckj/CRDT/main/documentation/crdt
MIT License
145 stars 3 forks source link

adding PNCounter, tests, and LamportTimestamp struct for future use #7

Closed heckj closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #7 (66e55c1) into main (3a1ec21) will decrease coverage by 4.07%. The diff coverage is 91.11%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   98.58%   94.51%   -4.08%     
==========================================
  Files           5       10       +5     
  Lines         212      419     +207     
==========================================
+ Hits          209      396     +187     
- Misses          3       23      +20     
Impacted Files Coverage Δ
Tests/CRDTTests/grokTests.swift 48.48% <48.48%> (ø)
Sources/CRDT/PNCounter.swift 94.33% <94.33%> (ø)
Sources/CRDT/GCounter.swift 91.42% <100.00%> (+0.25%) :arrow_up:
Sources/CRDT/LWWRegister.swift 100.00% <100.00%> (ø)
Sources/CRDT/LamportTimestamp.swift 100.00% <100.00%> (ø)
Tests/CRDTTests/GCounterTests.swift 100.00% <100.00%> (ø)
Tests/CRDTTests/LWWRegisterTests.swift 100.00% <100.00%> (ø)
Tests/CRDTTests/LamportTimestampTests.swift 100.00% <100.00%> (ø)
Tests/CRDTTests/PNCounterTests.swift 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.