apache / incubator-hugegraph-commons

(Archived Warning)Please visit "apache/hugegraph" repo instead
https://github.com/apache/hugegraph/tree/master/hugegraph-commons
Apache License 2.0
29 stars 45 forks source link

support assert range conditions #41

Closed javeme closed 4 years ago

javeme commented 4 years ago

add methods to Assert class:

  1. assertGt()
  2. assertGte()
  3. assertLt()
  4. assertLte()
  5. assertContains()

Change-Id: If4c5df19c937a8bb06fcdd60122ac54ab04f501b

codecov[bot] commented 4 years ago

Codecov Report

Merging #41 into master will increase coverage by 0.45%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #41      +/-   ##
============================================
+ Coverage     80.29%   80.75%   +0.45%     
- Complexity      605      620      +15     
============================================
  Files            55       55              
  Lines          1883     1912      +29     
  Branches        281      281              
============================================
+ Hits           1512     1544      +32     
+ Misses          254      252       -2     
+ Partials        117      116       -1
Impacted Files Coverage Δ Complexity Δ
...ava/com/baidu/hugegraph/version/CommonVersion.java 50% <ø> (ø) 1 <0> (ø) :arrow_down:
...main/java/com/baidu/hugegraph/testutil/Assert.java 98.33% <100%> (+4.78%) 26 <14> (+14) :arrow_up:
...n/java/com/baidu/hugegraph/concurrent/RowLock.java 80.43% <0%> (+4.34%) 11% <0%> (+1%) :arrow_up:

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 d78b728...a6d85bc. Read the comment docs.