Beispiel #1
0
 public void QuerySyntaxSideEffectTest()
 {
     Assert.AreEqual <string>(string.Empty, LinqQuerySyntaxExamples.QuerySyntaxSideEffect());
 }
Beispiel #2
0
 public void AnonymousTypeTest()
 {
     Assert.AreEqual <string>("Name1:11000.00; Name3:130000.00", LinqQuerySyntaxExamples.AnonymousType());
 }
Beispiel #3
0
 public void QuerySyntaxForeachExampleTest()
 {
     Assert.AreEqual <string>("grape", LinqQuerySyntaxExamples.ForeachExample());
     Assert.AreEqual <string>("grape", LinqQuerySyntaxExamples.QuerySyntax());
 }