File tree Expand file tree Collapse file tree 4 files changed +44
-6
lines changed
Expand file tree Collapse file tree 4 files changed +44
-6
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,8 @@ Basics for .Net ( .Net Standard 2.0 )
1313[ ] ...
1414
1515## Changelog
16+ ### Version 1.1.9 - 08/2019
17+ * Open source ...
18+
1619### Version 1.1.6 - 07/2019
17- * Comming out ...
20+ * Comming out ...
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using Microsoft . VisualStudio . TestTools . UnitTesting ;
33using ZPF ;
44
@@ -100,5 +100,40 @@ public void TStrings_Insert_0_1()
100100
101101 Assert . AreEqual ( "2" , file [ 2 ] ) ;
102102 }
103+
104+ [ TestMethod ]
105+ public void _00_NameValue_01 ( )
106+ {
107+ TStrings file = new TStrings ( ) ;
108+ file [ "A" ] = "1" ;
109+ file [ "B" ] = "2" ;
110+ file [ "C" ] = "3" ;
111+
112+ Assert . AreEqual ( "2" , file [ "B" ] ) ;
113+ }
114+
115+ [ TestMethod ]
116+ public void _00_NameValue_02 ( )
117+ {
118+ TStrings file = new TStrings ( ) ;
119+ file [ "A" ] = "1" ;
120+ file [ "B" ] = "2" ;
121+ file [ "C" ] = "3" ;
122+ file [ "B" ] = "4" ;
123+
124+ Assert . AreEqual ( 3 , file . Count ) ;
125+ }
126+
127+ [ TestMethod ]
128+ public void _00_NameValue_03 ( )
129+ {
130+ TStrings file = new TStrings ( ) ;
131+ file [ "A" ] = "1" ;
132+ file [ "B" ] = "2" ;
133+ file [ "C" ] = "3" ;
134+ file [ "B" ] = "4" ;
135+
136+ Assert . AreEqual ( "4" , file [ "B" ] ) ;
137+ }
103138 }
104139}
Original file line number Diff line number Diff line change 1010 <PackageIconUrl >https://raw.githubusercontent.com/ZeProgFactory/MediaPlayer/master/docs/ZeProgramFactory.Square.BG.png</PackageIconUrl >
1111 <PackageTags >Basics</PackageTags >
1212 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
13- <Version >1.1.8.112 </Version >
13+ <Version >1.1.9.1 </Version >
1414 <Description >Basics ( V2 / .Net Standard 2.0 )</Description >
15- <AssemblyVersion >1.1.8.112 </AssemblyVersion >
16- <FileVersion >1.1.8.112 </FileVersion >
15+ <AssemblyVersion >1.1.9.1 </AssemblyVersion >
16+ <FileVersion >1.1.9.1 </FileVersion >
1717 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1818 <RepositoryUrl >https://github.com/ZeProgFactory/ZPF_Basics</RepositoryUrl >
1919 <RepositoryType >GIT</RepositoryType >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp2.2 </TargetFramework >
4+ <TargetFramework >netcoreapp2.1 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments