Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
amylizzle and wixoaGit authored Feb 12, 2024
1 parent eeb5fca commit 0671187
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Content.Tests/DMProject/Tests/Math/minmax.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
ASSERT(min(null, 1) == null)
ASSERT(min(null, -1) == -1)
ASSERT(min(1, null) == null)
ASSERT(min(0,null)==null)
ASSERT(min(0, null) == null)
ASSERT(min(null, 0) == 0)
ASSERT(min("a","b","c")=="a")
ASSERT(min("b","a","c")=="a")

ASSERT(max(1,2,3) == 3)
ASSERT(max(null, 1) == 1)
ASSERT(max(null, -1) == null)
ASSERT(max(1, null) == 1)
ASSERT(max(0,null)==null)
ASSERT(max(0, null) == null)
ASSERT(max(null, 0) == 0)
ASSERT(max("a","b","c")=="c")
ASSERT(max("b","a","c")=="c")

0 comments on commit 0671187

Please sign in to comment.