public void GetFormatPairDouble_ReturnsCorrectValues(double size, double expectedScaled, string expectedSuffix) { FileSize.GetFormatPair(size, out var scaled, out var suffix); Assert.AreEqual(expectedScaled, scaled); Assert.AreEqual(expectedSuffix, suffix); }
public void GetFormatPairInt64_ReturnsCorrectValues(long size, long expectedScaled, string expectedSuffix) { FileSize.GetFormatPair(size, out var scaled, out var suffix); Assert.AreEqual(expectedScaled, scaled); Assert.AreEqual(expectedSuffix, suffix); }