Skip to content

V7.0 #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 535 commits into from
Aug 4, 2018
Merged

V7.0 #26

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
535 commits
Select commit Hold shift + click to select a range
3ea4cb6
Added examples for binary numeric literals; Added digit separator exa…
MarkMichaelis Mar 27, 2017
1ba7d38
Added tuple examples.
MarkMichaelis Mar 29, 2017
9bc704f
Switched to End of Poverty book.
MarkMichaelis Apr 16, 2017
ea52966
Updated to include check for null on the textDigit.
MarkMichaelis Apr 30, 2017
3179ccd
Added pragmas to remove warnings that are expected.
MarkMichaelis Apr 30, 2017
624492a
git update submodule for TestTools
MarkMichaelis Apr 30, 2017
108de36
Added #pragma to disable warning 0693 caused by overlapping type name…
MarkMichaelis May 2, 2017
d6f04bd
Switched to use System.ValueTuple and demonstrate the difference in s…
MarkMichaelis May 2, 2017
5b92a4d
Added 'Example' labels.
MarkMichaelis Jun 9, 2017
0d1d5a8
Minor redline edit.
MarkMichaelis Jun 10, 2017
d380f1a
Changed to us array initializers.
MarkMichaelis Jun 11, 2017
cd70beb
Update to code sample for 20.20
jaspet Jun 13, 2017
b157c58
Change var to actual type MethodInvoker in code listing 20.20
jaspet Jun 13, 2017
21fbc67
Add unit test for Listing 20.20
jaspet Jun 13, 2017
9875873
Add unit test for Listing 20.20
jaspet Jun 13, 2017
d684918
Update Listing 20.20 code and test to only be executed on Windows
jaspet Jun 14, 2017
c97b1b3
Minor change to remove redundant namespace from Listing 20.20 code
jaspet Jun 14, 2017
aa06144
Added discard example.
MarkMichaelis Jun 18, 2017
c49a780
Added example with discard.
MarkMichaelis Jun 18, 2017
fded235
Added Enum.HasFlag() method call; Added test project for Chapter 08.
MarkMichaelis Jun 18, 2017
fefaa37
Minor - added blank line for spacing.
MarkMichaelis Jun 18, 2017
01bc053
Minor comment correction.
MarkMichaelis Jun 18, 2017
2b37a5c
Changed throw ArgumentNullException to use nameof.
MarkMichaelis Jun 18, 2017
cf0e37d
Reorganized chapter to focus on generic delegates rather than custom …
MarkMichaelis Jun 20, 2017
97d5728
Minor updates.
MarkMichaelis Jun 20, 2017
55176bc
Added tests for Listing12.20.
MarkMichaelis Jun 20, 2017
e367a82
fixup! fixup! Added support for EndWithListing in order to support a …
MarkMichaelis Jun 20, 2017
585c42f
Renamed 'old' Listing 12.17 to Listing 12.04
MarkMichaelis Jun 20, 2017
3a6336d
Converted all LINQ anonymous type samples to use tuples instead; Chan…
MarkMichaelis Jun 26, 2017
120b81a
Changed from anonymous types to use tuples.
MarkMichaelis Jun 26, 2017
0fb1886
Renamed file to specify tuples rather than anonymous type.
MarkMichaelis Jun 26, 2017
a692ecc
Moved anonymous type samples to alternates and created tuple implemen…
MarkMichaelis Jul 14, 2017
477afd8
Moved files to alternates (with delegates rather than lambdas for Lis…
MarkMichaelis Jul 14, 2017
412a52b
Fixed MS Test Issue and add cross platform for new lines.
MarkMichaelis Jul 14, 2017
f03cdb3
Switched to use ExepctLike which allows for wildcards.
MarkMichaelis Jul 14, 2017
3a6a802
Reimplemented to all for renaming (renumbering) a file given old list…
MarkMichaelis Jul 14, 2017
acff111
Added 'legacy' implementation that uses anonymous types rather than t…
MarkMichaelis Jul 14, 2017
f61ad94
Addressed cross platform new line isses and handled MSTest defect See…
MarkMichaelis Jul 14, 2017
75460bf
Refactored files to work with 'alternate' (eg Listing15.03A) files.
MarkMichaelis Jul 14, 2017
f4d7f74
changed to throw inconclusive when there is no Internet connection.
MarkMichaelis Jul 14, 2017
6ad5465
Updated to include search and replace of namespace.
MarkMichaelis Jul 14, 2017
5fecad9
Added back test file processing (which included refactoring into an i…
MarkMichaelis Jul 14, 2017
f653e89
SWitched around git mv and Update Content (the latter is now first).
MarkMichaelis Jul 14, 2017
125728a
Fixed bug which was causing content not to get written out.
MarkMichaelis Jul 14, 2017
72eb96a
Added tests for 14.01 and 14.13.
MarkMichaelis Jul 16, 2017
1c4caa5
Moved Listing14.16A to Listing14.30 including the test file.
MarkMichaelis Jul 16, 2017
a1f2e7e
Added support for renameing sequences; refactored
MarkMichaelis Jul 16, 2017
a36474d
Update README.md
nlundby Jul 16, 2017
eca67d7
*.csproj changed to UTF-8
nlundby Jul 16, 2017
8149a09
Update EssentialCSharp.sln
nlundby Jul 16, 2017
fea690f
Update README.md
nlundby Jul 17, 2017
276389b
Update README.md
nlundby Jul 17, 2017
0bdd981
Restructured signifcantly to better support whatif
MarkMichaelis Jul 17, 2017
0172df1
Bug fixing for final stage.
MarkMichaelis Jul 17, 2017
25dcc69
Renumbered based on updated chapter for C# 7.0 which moved anonymous …
MarkMichaelis Jul 17, 2017
22c5e06
Updated the casing on the reference to the Chapter.13.csproj file.
MarkMichaelis Jul 18, 2017
a21d542
Update README.md
nlundby Jul 24, 2017
64b3fe4
Update README.md
nlundby Jul 24, 2017
3d8c0ea
Added ValueTaksAsyncReturn; Upgraded netappcore to 1.1
MarkMichaelis Jul 28, 2017
b3b90c5
Removed test body which wasn't left over from a file copy.
MarkMichaelis Jul 28, 2017
3b53a98
Updated the README with minor changes.
MarkMichaelis Jul 29, 2017
c452214
Merged in the renamed of 'ChapterMain' back to 'Main'; Updated Chapte…
MarkMichaelis Jul 29, 2017
e5b3f92
Removed encrypt files that were added mistakenly.
MarkMichaelis Jul 29, 2017
0ffd270
Changed to ignore *.encrypt files.
MarkMichaelis Jul 29, 2017
6246505
Updated the PowerShell script for running tests.
MarkMichaelis Jul 30, 2017
906d3a8
Colorized the output.
MarkMichaelis Jul 30, 2017
45949d3
Moved some ps1 files from the root to the Utilities directory.
MarkMichaelis Jul 30, 2017
45354c3
Improved display on Bash Shell output running on Windows.
MarkMichaelis Jul 30, 2017
dfe7dea
Refined test script to dispay errors and skips at the end.
MarkMichaelis Aug 1, 2017
132f866
Upgraded MSTest and .NET Test SDK nuget packages to latest available
MarkMichaelis Aug 1, 2017
393ebcf
Turned off error output as it was handled in the test results; Correc…
MarkMichaelis Aug 1, 2017
f6e77d8
Added comment note that the file is not set to compile intentionally.
MarkMichaelis Aug 1, 2017
ab8d3b1
Updated for Chapter 18 v7.0
MarkMichaelis Aug 1, 2017
561b742
More minor changes...
MarkMichaelis Aug 1, 2017
2f6a94e
Added tests for AsyncVoidReturn along with a synchronization context …
MarkMichaelis Aug 4, 2017
7d6c9d6
Moved to throw exception from within executing task.
MarkMichaelis Aug 4, 2017
a542ab5
Added support for non-numeric listing numbers like 15B.
MarkMichaelis Aug 5, 2017
18f3cca
Fixed issues when old listing number had a letter. e.g. 15B.
MarkMichaelis Aug 5, 2017
ed6e0a9
Renumbered listings based on additional listings in chapter 18
MarkMichaelis Aug 6, 2017
bf7e138
Renamed Update-ListingNumber to Update-CodeListingNumber
MarkMichaelis Aug 6, 2017
05d5283
Added padding for chapter and listing numbers that were single digits.
MarkMichaelis Aug 6, 2017
6ceeecb
Renamed to Listing 02.16 to match chapter title.
MarkMichaelis Aug 6, 2017
c5d521e
Updated Listing18.17.cs to show the output before checking the thread…
MarkMichaelis Aug 7, 2017
4f3c6e1
Added exception for Hidden attribute not to be checked on Windows
MarkMichaelis Aug 7, 2017
563da5b
Added exception for Hidden attribute not to be checked on Windows
MarkMichaelis Aug 7, 2017
672c580
Fixed expectd output from test in Listing 08.16
MarkMichaelis Aug 7, 2017
70e8676
Fixed expectd output from test in Listing 08.16
MarkMichaelis Aug 7, 2017
4aa5887
Added support for returning the stdOutput and stdError from ExecutePr…
MarkMichaelis Aug 8, 2017
d5dc4ac
Added examples for pattern matching.
MarkMichaelis Aug 20, 2017
fc5b36a
Added a PowerShell script for producing Output 1.1.
MarkMichaelis Aug 21, 2017
49032b1
Modified the scripts to support a dotnet verb (command) for running t…
MarkMichaelis Aug 23, 2017
63568ca
Removed C# 6.0 Errata document.
MarkMichaelis Aug 27, 2017
1fa6bfc
Corrected powershell script name.
MarkMichaelis Aug 27, 2017
ec0bc62
Updated versions of System.ValueTuple and Microsoft.NET.Test.Sdk
MarkMichaelis Sep 9, 2017
3e5c457
Minor name changes
MarkMichaelis Sep 9, 2017
43c2271
Added tests for returning multiple tuple values.
MarkMichaelis Sep 10, 2017
d8a5438
Updated TestTools to latest version
MarkMichaelis Sep 10, 2017
c834e2e
Upgraded to C# 7.0 inline out variable declaration.
MarkMichaelis Sep 10, 2017
50fb3fc
Minor changes...
MarkMichaelis Sep 10, 2017
132f796
Updated so that listing numbers are optional.
MarkMichaelis Sep 11, 2017
559337d
Fixed bugs related to ChapterNumber changing.
MarkMichaelis Sep 11, 2017
fe69d5a
Renamed chapter folder; Git Add content change.
MarkMichaelis Sep 11, 2017
72eec7b
Modified Git-MoveFile to work for folders.;Changed Update-ListingNumb…
MarkMichaelis Sep 11, 2017
1dde15c
Add precompile option for C#7
MarkMichaelis Sep 11, 2017
c39d6da
Updated project name in solution file.
MarkMichaelis Sep 11, 2017
28f93f6
Changed so test project is optional.
MarkMichaelis Sep 11, 2017
95a6c7b
Added a deconstructor example.
MarkMichaelis Sep 17, 2017
c73837e
Upgraded the TargetFramework to netcoreapp2.0;
MarkMichaelis Sep 17, 2017
f8b2582
Added support for reference return.
MarkMichaelis Sep 17, 2017
30ffc7f
Updated to avoid Powershell Aliases.
MarkMichaelis Sep 30, 2017
14550e6
Added PowerShell script for working with dotnet CLI and referenes.
MarkMichaelis Sep 30, 2017
dd6ece1
Move TicTacToe.cs listing into Chapter 3
MarkMichaelis Sep 30, 2017
30ad588
Changed CSHARP2 preprocessor to CSHARP2PLUS
MarkMichaelis Sep 30, 2017
cc12c66
Switched scripts to use PSDebug for displaying the trace.
MarkMichaelis Oct 1, 2017
e284648
Updated corresponding to removal of comments from Chapters.
MarkMichaelis Oct 8, 2017
ede15a4
Fixed defect in a test.
MarkMichaelis Oct 9, 2017
a0c2fef
Added references.
MarkMichaelis Oct 10, 2017
1838af5
Renumbered listings; Added tests for Chapter 19 (which is actually ch…
MarkMichaelis Oct 15, 2017
03ecade
Changed listing 2.20 to 3.20
ADCombs Jan 27, 2018
d083200
changed file name to correct location
ADCombs Jan 30, 2018
a593ba6
moved files to correct locations
ADCombs Jan 30, 2018
8ccdb9d
moved files
ADCombs Jan 30, 2018
2823231
changes
ADCombs Jan 30, 2018
da4069f
changes
ADCombs Jan 30, 2018
4f78ecf
finished moving listings
ADCombs Jan 30, 2018
88a48b5
chapter 3 finished
ADCombs Jan 30, 2018
490a1ee
chapter 3 to chapter 4
ADCombs Feb 3, 2018
1f9f9f3
current changes
ADCombs Feb 3, 2018
b98b71a
moved chapters
ADCombs Feb 3, 2018
db3b630
moved chapters
ADCombs Feb 3, 2018
8fd456f
moved listings
ADCombs Feb 3, 2018
eaf7ffe
chapter 4 complete
ADCombs Feb 3, 2018
243ae5b
changed listing chapter 3 to correct listing
ADCombs Feb 3, 2018
a6ec2a2
moved tests
ADCombs Feb 4, 2018
4bcccf4
moving chapter 4 to 5
ADCombs Feb 5, 2018
0d0d237
changes made to comments
ADCombs Feb 5, 2018
9cc0299
moved from chapter 4 to 5
ADCombs Feb 5, 2018
2e9f1b5
correct to chapter 4 test
ADCombs Feb 6, 2018
8c97e4e
chapter 4 tests to 5
ADCombs Feb 6, 2018
1992e98
moved listings
ADCombs Feb 6, 2018
2a05677
moved listings and changed comments
ADCombs Feb 6, 2018
5155cb9
change to commits
ADCombs Feb 6, 2018
bd446c7
current changes from chapter 5 to 6
ADCombs Feb 7, 2018
634f6b2
moved files
ADCombs Feb 8, 2018
c90140a
moved listings
ADCombs Feb 8, 2018
ab01609
current listings
ADCombs Feb 8, 2018
7c170d5
Finished Chapter 06: moving listings and editing comments
ADCombs Feb 8, 2018
4429d73
chapter 7 moved from chapter 6
ADCombs Feb 10, 2018
902252a
moved chapter 7 to chapter 8
ADCombs Feb 11, 2018
895d740
Chapter 9 listings moved
ADCombs Feb 15, 2018
8c672fa
spelling changes
ADCombs Feb 21, 2018
96ae8bf
current move of listings
ADCombs Feb 24, 2018
3b46239
chapter 10 finished
ADCombs Feb 24, 2018
cabfac9
listing 11 finished
ADCombs Feb 24, 2018
d662878
Chapter 12 Listings moved
ADCombs Mar 13, 2018
af7d096
chapter 14 completed
ADCombs Mar 25, 2018
c60df74
added s to the comment
ADCombs Mar 26, 2018
87ca50c
Chapter 15 finished
ADCombs Mar 26, 2018
d130126
moved tests up to chapter 10 over, updated to .NET Core 2.0
ADCombs Mar 27, 2018
c000358
Fixed Comment inside of Listing 9.02 and 9.03
ADCombs Mar 27, 2018
5a14d92
added Listing 9.1
ADCombs Mar 27, 2018
4da13e8
Ch. 19 code relocated from Ch. 18, Tests moved, periods and semi-colo…
Mar 27, 2018
7e5ed08
chapter one converted to match book
ADCombs Mar 27, 2018
f6fcec3
updated chapter 2 to correct listing numbers
ADCombs Mar 27, 2018
caf9854
Chapter 3 fixes made
ADCombs Mar 27, 2018
48a7ab5
removed unwanted periods/semicolons and minor fixes to listings
ADCombs Mar 28, 2018
9b70900
updated namespace for chapter 5
ADCombs Mar 28, 2018
cccf194
fixed namespace
ADCombs Mar 28, 2018
94ff637
changes to namespace
ADCombs Mar 28, 2018
50c476d
namespaces updated accordingly
ADCombs Mar 28, 2018
73620a0
Chapter Eight Namespace updated
ADCombs Mar 28, 2018
2b92e27
updated chapter 9 namespace
ADCombs Mar 28, 2018
752a6f4
Moved Cryptographer.cs and Utility.cs from 18 to 19. Renamed namespac…
Mar 28, 2018
6e34aea
Added IEquatable<Coordinate> to Coordinate class in Listing 10.5
MarkMichaelis Mar 28, 2018
449e85c
Namespaces updated
ADCombs Mar 28, 2018
67cdc15
Chapter 11 namespaces updated
ADCombs Mar 28, 2018
2e91aba
namespace renamed accordingly
ADCombs Mar 29, 2018
92e08f6
current namespace standings
ADCombs Mar 29, 2018
e2a5397
namespace added
ADCombs Mar 29, 2018
377ade9
namespaces are now updated
ADCombs Mar 29, 2018
e5a7b94
Updated namespace for Chapter 03. Moved tests from chapter 03 into ch…
ADCombs Mar 29, 2018
ebde4c3
Chapter one tests namespace updated and compiling
ADCombs Mar 29, 2018
c799d9a
Moved Test listing 04.03 to 05.03
MarkMichaelis Mar 29, 2018
1718f40
change spelling in chapter 5 test
ADCombs Mar 29, 2018
7fa5705
Current changes to six updated
ADCombs Mar 29, 2018
44f5f5c
Created test projects for Chapters 07 and 11.
MarkMichaelis Mar 29, 2018
870e8fa
Chapter six tests now updated with correct listing names. Chapter 7 t…
ADCombs Mar 30, 2018
52ef0cf
chapter 13 updated
Mar 30, 2018
db44f58
Chapter_10 test and Chapter_11 tests moved to correct names / location
ADCombs Mar 30, 2018
3af0dd8
Chapter 10 test moved from Chapter 9
ADCombs Mar 30, 2018
fb7fe22
Chapter 14 and 13 tests renamed and moved
ADCombs Mar 30, 2018
54bcb60
chapter 15 tests moved
ADCombs Mar 30, 2018
0983508
chapter 7.23.test updated to compile
ADCombs Mar 30, 2018
3fad1b2
Removed placeholder tests in Chapters 7 and 11
MarkMichaelis Mar 30, 2018
6fa29d4
Chapter 20 updated, namespaces corrected
Mar 30, 2018
eda205b
fixed chapter 20 naming issues
Mar 30, 2018
57d571b
Chapter 17 moved and updated, namespaces changed, tests moved and upd…
Mar 30, 2018
df40aac
Saving command for updating namespace in cs file.
MarkMichaelis Mar 30, 2018
3800fd8
Chapter 16 moved in correct locations
ADCombs Mar 30, 2018
2bacdad
chapter 5 namespace
ADCombs Mar 30, 2018
d3b9518
Added Update-CodeChapterListingNumber
MarkMichaelis Mar 31, 2018
a402bce
Minor refactoring
MarkMichaelis Mar 31, 2018
758f07c
Called git add given content change.
MarkMichaelis Mar 31, 2018
113f300
Move Listing 4.4 to 5.4 corresponding to the target file move
MarkMichaelis Mar 31, 2018
f5f6e24
Minor changes
MarkMichaelis Mar 31, 2018
5bd6347
Move Tests 4.6 to 5.7 corresponding to the target file move; Fixed na…
MarkMichaelis Mar 31, 2018
7e422a6
Fixed bug in namespace replacement.
MarkMichaelis Mar 31, 2018
0ebb567
Move Tests 4.20 to 5.22 corresponding to the target file move
MarkMichaelis Mar 31, 2018
16899f1
Minor updated to namespace to indicate this has more than one example…
MarkMichaelis Mar 31, 2018
7e3171d
Modified namespace and file regulard expressions; Added pipeline supp…
MarkMichaelis Mar 31, 2018
00d8245
Removed errant file.
MarkMichaelis Mar 31, 2018
7e18c9d
Moved to the root directory.
MarkMichaelis Mar 31, 2018
b9eed27
Chapter 18 minus tests: For Review
Mar 31, 2018
f5e178a
Namespace updated. Rearranged listing 12.16B to listing13.16A; update…
ADCombs Mar 31, 2018
85680d6
ch14-19 namespaces update
ADCombs Mar 31, 2018
e4f5813
moved a missing listing back into chapter 18
ADCombs Apr 1, 2018
df8df73
updated listing18.23 Namespace
ADCombs Apr 1, 2018
cfb11d8
Chapter04 tests and listings completed and compiling
ADCombs Apr 2, 2018
57bc474
Moved chapter 21 back under src (not sure why/who moved it).
MarkMichaelis Apr 4, 2018
f164505
getting chapter 16 and 2 to compile
ADCombs Apr 5, 2018
4ad5b3d
chapter 10 and 2 tests compiling
ADCombs Apr 5, 2018
63af33f
chapter nine compiling
ADCombs Apr 6, 2018
9ec4d83
chapter 17 and 18 now compiling and tests passing. Updated chapter 17…
ADCombs Apr 6, 2018
3697ebf
chapter 21 moved and updated chapter 21 listings
ADCombs Apr 8, 2018
04973dd
Improvements to bulid and test scripts.
MarkMichaelis Apr 14, 2018
9b28a24
Fixed call to Write-Output
MarkMichaelis Apr 15, 2018
4b17c0f
Switched the namespace to Chapter 16
MarkMichaelis Apr 15, 2018
ce097e1
chapter 13 completed
ADCombs Apr 15, 2018
be0a10a
chapter 14 chapters updated
ADCombs Apr 15, 2018
1aabb50
Changed error output approach.
MarkMichaelis Apr 17, 2018
e437021
Adjustments to output.
MarkMichaelis Apr 17, 2018
8189f44
Additional improvements
MarkMichaelis Apr 20, 2018
451d498
Added format table with control on rows and column color.
MarkMichaelis Apr 20, 2018
a0100fe
Minor changes in order to support using Write-PSObject without any co…
MarkMichaelis Apr 20, 2018
ea81b88
Started adding support for streaming.
MarkMichaelis Apr 21, 2018
2b46b78
Further refactoring to support streaming.
MarkMichaelis Apr 21, 2018
81815d3
Fixed bug for * and ? values for $chapterFilter
MarkMichaelis Apr 21, 2018
0f05ad3
Removed $lines so that everything is now streaming/piped.
MarkMichaelis Apr 21, 2018
a54abe3
chapter 15 listing tests updated
ADCombs Apr 22, 2018
7d54b08
Namespace 16 updated.
ADCombs Apr 22, 2018
cce6825
Refactored out duplicate check for header rows.
MarkMichaelis Apr 23, 2018
2546cf5
Cleanup...
MarkMichaelis Apr 23, 2018
521e390
Renamed 'dotnettest' files to 'build'. Left dotnet-test.sh as I susp…
MarkMichaelis Apr 23, 2018
fc7141b
Fixed numbers in namespaces for Chapter 16
MarkMichaelis Apr 23, 2018
df9e85f
Added Chapter 21 to the solution; Added whild card for exception deta…
MarkMichaelis Apr 23, 2018
b3981b8
Merge branch 'v7.0' of github.com:IntelliTect/EssentialCSharp into v7.0
MarkMichaelis Aug 4, 2018
c2ede71
Upgraded to .NET Core 2.0
MarkMichaelis Aug 4, 2018
1bee63a
Removed Appendix code (left over from Essential C# 6.0)
MarkMichaelis Aug 4, 2018
582ed18
Updated build so that 'dotnet test' only executes against test projec…
MarkMichaelis Aug 4, 2018
dc60c1a
Upgraded console testing project to .NET Core 2.0
MarkMichaelis Aug 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switched the namespace to Chapter 16
  • Loading branch information
MarkMichaelis committed Aug 4, 2018
commit 4b17c0fd5350ff3a6406caf4da37f1779bfe02e4
2 changes: 1 addition & 1 deletion src/Chapter16.Tests/Listing16.10.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_10.Tests
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_10.Tests
{

[TestClass]
Expand Down
6 changes: 3 additions & 3 deletions src/Chapter16.Tests/Listing16.11.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_11.Tests
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_11.Tests
{

[TestClass]
Expand All @@ -10,13 +10,13 @@ public class ProgramTests
[TestMethod]
public void SelectingFollowingGroupClause_UsingTuple()
{
SelectingFollowingGroupClause(Listing16_11.Program.Main);
SelectingFollowingGroupClause(Listing15_11.Program.Main);
}

[TestMethod]
public void SelectingFollowingTheGroupbyClause_UsingAnonymous()
{
SelectingFollowingGroupClause(Listing16_11A.Program.Main);
SelectingFollowingGroupClause(Listing15_11A.Program.Main);
}


Expand Down
2 changes: 1 addition & 1 deletion src/Chapter16.Tests/Listing16.13.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class ProgramTests
public void SelectingAnonymousTypeFollowingGroupClause()
{
// Intentionally use something other than select to
// determine the result
// determine the result.
string expected = Program.Keywords.Aggregate("",
(string result, string word) => {
var splitCharactersOntoEachLine = word.Aggregate("",
Expand Down
2 changes: 1 addition & 1 deletion src/Chapter16.Tests/Listing16.15.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ProgramTests
[TestMethod]
public void SelectingAnonymousTypeFollowingGroupClause()
{
// New lines added for output formatting in the chapter
// New lines added for output formatting in the chapter.
string expected =
@"Aggregate, All, Any, Append, AsEnumerable, Average, Cast, Concat, Contains,
Count, DefaultIfEmpty, Distinct, ElementAt, ElementAtOrDefault, Empty,
Expand Down