Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs
===================================================================
diff -u -r9ff0a37a156186137dbaf5a4d43bc0fab10de1f0 -rdf53f0268b7c15f000796a38436b2c40069b9b07
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs (.../TestStructure.cs) (revision 9ff0a37a156186137dbaf5a4d43bc0fab10de1f0)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/TestStructure.cs (.../TestStructure.cs) (revision df53f0268b7c15f000796a38436b2c40069b9b07)
@@ -33,16 +33,16 @@
///
/// Creates a new instance of .
///
- public TestStructure()
+ public TestStructure()
: this("id") {}
///
/// Creates a new instance of .
///
/// The id of the structure.
- /// Thrown when
+ /// Thrown when
/// is null, empty or consists of whitespace.
- public TestStructure(string id)
+ public TestStructure(string id)
: this(id, "name") {}
///
@@ -53,7 +53,7 @@
/// Thrown when or
/// is null, empty or consists of only whitespaces.
public TestStructure(string id, string name)
- : this(id, name, new Point2D(0.0, 0.0)) { }
+ : this(id, name, new Point2D(0.0, 0.0)) {}
///
/// Creates a new instance of .
@@ -65,15 +65,15 @@
/// Thrown when
/// is null.
public TestStructure(string id, Point2D location)
- : this(id, "name", location) { }
+ : this(id, "name", location) {}
///
/// Creates a new instance of .
///
/// The location of the structure.
/// Thrown when
/// is null.
- public TestStructure(Point2D location)
+ public TestStructure(Point2D location)
: this("id", "name", location) {}
///
@@ -87,12 +87,26 @@
/// Thrown when
/// is null.
public TestStructure(string id, string name, Point2D location)
+ : this(id, name, location, (RoundedDouble) 0.12345) {}
+
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The id of the structure.
+ /// The name of the structure.
+ /// The location of the structure.
+ /// The normal of the structure.
+ /// Thrown when or
+ /// is null, empty or consists of only whitespaces.
+ /// Thrown when
+ /// is null.
+ public TestStructure(string id, string name, Point2D location, RoundedDouble structureNormalOrientation)
: base(new ConstructionProperties
{
Name = name,
Id = id,
Location = location,
- StructureNormalOrientation = (RoundedDouble) 0.12345
+ StructureNormalOrientation = structureNormalOrientation
}) {}
}
}
\ No newline at end of file