[lang-ref] ( is_space ) ( csharp )
[Theory]
[InlineData(" ", true)]
[InlineData("\t", true)]
[InlineData("\n", true)]
[InlineData("a", false)]
[InlineData(" ", true)] // <-- !!!
[InlineData("あ", false)]
public void TestIsSpace(string text, bool expected)
{
// text.IsWhiteSpace()
bool actual1 = text.IsWhiteSpace();
bool actual2 = text.All(char.IsWhiteSpace);
Assert.Equal(expected, actual1);
Assert.Equal(expected, actual2);
}