diff --git a/Lecture/Lecture/Lecture.csproj b/Lecture/Lecture/Lecture.csproj index 64568c40..be296b08 100644 --- a/Lecture/Lecture/Lecture.csproj +++ b/Lecture/Lecture/Lecture.csproj @@ -59,10 +59,10 @@ - + - + @@ -81,7 +81,7 @@ - + diff --git a/Lecture/Lecture/Generics.cs b/Lecture/Lecture/LessonGenerics/Generics.cs similarity index 97% rename from Lecture/Lecture/Generics.cs rename to Lecture/Lecture/LessonGenerics/Generics.cs index fbcd6ea9..d4ab2f05 100644 --- a/Lecture/Lecture/Generics.cs +++ b/Lecture/Lecture/LessonGenerics/Generics.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; -namespace TP.Lecture +namespace TP.Lecture.LessonGenerics { /// /// Class Generics - an example og generics. diff --git a/Lecture/Lecture/Generics.md b/Lecture/Lecture/LessonGenerics/Generics.md similarity index 100% rename from Lecture/Lecture/Generics.md rename to Lecture/Lecture/LessonGenerics/Generics.md diff --git a/Lecture/Lecture/Node.cs b/Lecture/Lecture/LessonGenerics/Node.cs similarity index 88% rename from Lecture/Lecture/Node.cs rename to Lecture/Lecture/LessonGenerics/Node.cs index 664bd925..1c81e6ff 100644 --- a/Lecture/Lecture/Node.cs +++ b/Lecture/Lecture/LessonGenerics/Node.cs @@ -1,4 +1,4 @@ -namespace TP.Lecture +namespace TP.Lecture.LessonGenerics { class Node { diff --git a/Lecture/Lesson2UnitTest/GenericsUnitTest.cs b/Lecture/Lesson2UnitTest/GenericsUnitTest.cs index f596c122..c3486dfa 100644 --- a/Lecture/Lesson2UnitTest/GenericsUnitTest.cs +++ b/Lecture/Lesson2UnitTest/GenericsUnitTest.cs @@ -1,6 +1,7 @@  -using System; using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using TP.Lecture.LessonGenerics; namespace TP.Lecture.UnitTest { @@ -8,13 +9,13 @@ namespace TP.Lecture.UnitTest public class GenericsUnitTest { [TestMethod] - public void AfterCreatioValueTestMethod() + public void AfterCreationValueTestMethod() { Generics _intInstance = new Generics(); Assert.AreEqual(default(int), _intInstance.DefaultValue); } [TestMethod] - public void AfterCreatioReferenceTestMethod() + public void AfterCreationReferenceTestMethod() { Generics _intInstance = new Generics(); //Assert.AreEqual(0, _intInstance.DefaultValue);