Skip to content

Commit

Permalink
Merge pull request #138 from chasefleming/chasefleming/rem-float-test…
Browse files Browse the repository at this point in the history
…-cases

Add float test cases for Rem
  • Loading branch information
chasefleming committed Apr 5, 2024
2 parents 3316c9f + 52b0088 commit 3849233
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions styles/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ func TestRem(t *testing.T) {
assert.Equal(t, "100.00rem", Rem(100))
assert.Equal(t, "0.00rem", Rem(0))
assert.Equal(t, "50.00rem", Rem(50))
assert.Equal(t, "50.00rem", Rem(50.0))
assert.Equal(t, "50.00rem", Rem(50.00))
assert.Equal(t, "25.00rem", Rem(25))
}

Expand Down

0 comments on commit 3849233

Please sign in to comment.