public void Constructor_Success_no_ending() { var info = new RuntimeModelDimensionInfo(typeof(IDim2).GetTypeInfo()); Assert.AreEqual("Dim2", info.Name); Assert.AreEqual(24, info.Index); Assert.AreEqual(true, info.IsAggregatable); }
public void Constructor_Success_Dimension_ending() { var info = new RuntimeModelDimensionInfo(typeof(IDim1Dimension).GetTypeInfo()); Assert.AreEqual("Dim1", info.Name); Assert.AreEqual(12, info.Index); Assert.AreEqual(false, info.IsAggregatable); }