This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Combining string instructions and optimizing its workflow. #15
- Loading branch information
1 parent
51a7e09
commit 88b797b
Showing
11 changed files
with
222 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System.Text.Json; | ||
using Xunit; | ||
using Xunit.Abstractions; | ||
|
||
namespace Super.Serialization.Testing.Application | ||
{ | ||
public sealed class RangesTests | ||
{ | ||
readonly ITestOutputHelper _output; | ||
|
||
public RangesTests(ITestOutputHelper output) => _output = output; | ||
|
||
[Fact] | ||
void Verify() | ||
{ | ||
/*_output.WriteLine($"Low: {Ranges.Default.Low.Start.Value} - {Ranges.Default.Low.End.Value}"); | ||
//_output.WriteLine($"{Ranges.Default.Normal.Start.Value} - {Ranges.Default.Normal.End.Value}"); | ||
_output.WriteLine($"High: {Ranges.Default.High.Start.Value} - {Ranges.Default.High.End.Value}"); | ||
for (var i = Ranges.Default.Normal.Start.Value; i < Ranges.Default.Normal.End.Value; i++) | ||
{ | ||
_output.WriteLine($"{i}: {(char)i}"); | ||
}*/ | ||
|
||
var valid = new string(new[] {'a', 'b', 'c', (char)0xD800, (char)0xDC00}); | ||
var text = JsonEncodedText.Encode(valid); | ||
_output.WriteLine(text.ToString()); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
Super.Serialization.Testing.Application/Writing/Instructions/EscapeIndexTests.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Super.Platform.NetCore\Super.Platform.NetCore.csproj" /> | ||
<ProjectReference Include="..\Super\Super.csproj" /> | ||
</ItemGroup> | ||
|
||
<Target Name="WorkaroundNetStandard" AfterTargets="ResolvePackageAssets"> | ||
<ItemGroup> | ||
<TransitiveFrameworkReference Remove="NETStandard.Library" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">Default</s:String></wpf:ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.