mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-12-01 15:40:32 +01:00
The density test uses a value outside 60 to 480, since any density in that range can now be typed in
This commit is contained in:
1 parent
ff9bb83937
commit
8c73aa83bd
1 file changed
+1
-1
@@ -82,7 +82,7 @@ class CarDensityTest {
|
||||
|
||||
@Test
|
||||
fun aSavedDensityGearslipDoesNotOfferFallsBackToTheCar() {
|
||||
for (saved in listOf("201", "-1", "broken", "")) {
|
||||
for (saved in listOf("481", "-1", "broken", "")) {
|
||||
context.stored["car_density"] = saved
|
||||
CarSettings.init(context)
|
||||
assertEquals(CarSettings.DENSITY_FROM_CAR, CarSettings.carDensity.value)
|
||||
|
||||
Reference in new issue
Block a user