482a46b568
Updated project files for `Beam.Dynamic`, `Beam.Exports`, `Beam.Temporary.Cli`, and `Beam` to include additional metadata and specific package versions. Refactored `DataBindings` and `ResolvedBindings` to records, added a new `Text` property in `Binding.cs`, and introduced `ParseNumbers` in `OnlineCleaner`. New classes `PuppetContext` and `PuppetUnitDownloader` added for Playwright integration. Introduced `ImmutableState` struct and `UnitDownloaderBinary` class for improved download management. Updated tests in `UnitTest1.cs` for number localization. Added `Beam.Puppeteer` project to the solution.
13 lines
306 B
C#
13 lines
306 B
C#
using System.Globalization;
|
|
|
|
namespace Beam.Tests {
|
|
public class UnitTest1 {
|
|
[Fact]
|
|
public void Test1() {
|
|
const string test = "九一五";
|
|
|
|
Assert.True(int.TryParse(test, CultureInfo.GetCultureInfo("zh-Hans").NumberFormat, out var number));
|
|
}
|
|
}
|
|
}
|