<commit_before>using System.Globalization;
using Xunit;

namespace ByteSizeLib.Tests.BinaryByteSizeTests
{
    public class ToBinaryStringMethod
    {

        [Fact]
        public void ReturnsDefaultRepresenation()
        {
            // Arrange
            var b = ByteSize.FromKiloBytes(10);

            // Act
            var result = b.ToBinaryString(CultureInfo.InvariantCulture);

            // Assert
            Assert.Equal("9.77 KiB", result);
        }

        [Fact]
        public void ReturnsDefaultRepresenationCurrentCulture()
        {
            // Arrange
            var b = ByteSize.FromKiloBytes(10);
            var s = CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator;

            // Act
            var result = b.ToBinaryString(CultureInfo.CurrentCulture);

            // Assert
            Assert.Equal($"9{s}77 KiB", result);
        }
	}
}<commit_msg>Fix ReturnsDefaultRepresenationCurrentCulture test for all cultures<commit_after>using System.Globalization;
using Xunit;

namespace ByteSizeLib.Tests.BinaryByteSizeTests
{
    public class ToBinaryStringMethod
    {

        [Fact]
        public void ReturnsDefaultRepresenation()
        {
            // Arrange
            var b = ByteSize.FromKiloBytes(10);

            // Act
            var result = b.ToBinaryString(CultureInfo.InvariantCulture);

            // Assert
            Assert.Equal("9.77 KiB", result);
        }

        [Fact]
        public void ReturnsDefaultRepresenationCurrentCulture()
        {
            // Arrange
            var b = ByteSize.FromKiloBytes(10);
            var s = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator;

            // Act
            var result = b.ToBinaryString(CultureInfo.CurrentCulture);

            // Assert
            Assert.Equal($"9{s}77 KiB", result);
        }
	}
}
{'fraction_non_alphanumeric': 0.08690987124463519, 'fraction_numerical': 0.01072961373390558, 'mean_word_length': 1.8429878048780488, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2975722', 'n_tokens_mistral': 505, 'n_tokens_neox': 486, 'n_words': 93}