public void TestBrailIndexedProperties([Values(265)] int brailId) { var brail = this.repo.FindById(brailId); Assert.NotNull(brail); var record = new BrailRecord() { Sequence = 20, Samples = 99, Fullness = 1 }; brail[19] = record; Assert.AreEqual(20, brail.Record20.Sequence); Assert.AreEqual(99, brail.Record20.Samples); Assert.AreEqual(1, brail.Record20.Fullness); }
public void IndexedPropertyException() { var brail = new Brail(); var record = new BrailRecord(); brail[30] = record; }