mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
Add extra cases.
This commit is contained in:
parent
f6711a3d16
commit
4cf78795bd
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ class SpecialRoundTest {
|
|||
sut.round(1000) shouldBeEqualTo 1_000
|
||||
sut.round(1001) shouldBeEqualTo 1_000
|
||||
sut.round(1499) shouldBeEqualTo 1_500
|
||||
sut.round(1500) shouldBeEqualTo 1_500
|
||||
sut.round(1501) shouldBeEqualTo 1_500
|
||||
}
|
||||
|
||||
|
@ -45,6 +46,7 @@ class SpecialRoundTest {
|
|||
sut.round(1000) shouldBeEqualTo 1_000
|
||||
sut.round(1001) shouldBeEqualTo 1_000
|
||||
sut.round(1499) shouldBeEqualTo 1_000
|
||||
sut.round(1500) shouldBeEqualTo 2_000
|
||||
sut.round(1501) shouldBeEqualTo 2_000
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue