aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-12-15 18:33:27 +0100
committerBond_009 <bond.009@outlook.com>2021-12-18 14:56:10 +0100
commit968c534864efbd979feedb859b4b2afeb279ae52 (patch)
tree023beb8b9cd028a22971c5c9992197b3adf28d16 /tests
parentf8fcbc88fca8086052d1b3ef37dbd71d85e7dee7 (diff)
Return null on division by zero
Diffstat (limited to 'tests')
-rw-r--r--tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs b/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs
index cc1ec495a..0fc8724b6 100644
--- a/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs
+++ b/tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs
@@ -24,7 +24,7 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
[InlineData("25/1", 25f)]
[InlineData("120/1", 120f)]
[InlineData("1704753000/71073479", 23.98578237601117f)]
- [InlineData("0/0", 0f)]
+ [InlineData("0/0", null)]
[InlineData("1/1000", 0.001f)]
[InlineData("1/90000", 1.1111111E-05f)]
[InlineData("1/48000", 2.0833333E-05f)]