public void get_RunAt_IchOutOfRange_Throws() { TsString tss = CreateEmptyString(); Assert.That(() => tss.get_RunAt(1), Throws.InstanceOf <ArgumentOutOfRangeException>()); }
public void get_RunAt_TwoRunsSecondRun_ReturnsOne() { TsString tss = CreateTwoRunString(); Assert.That(tss.get_RunAt(16), Is.EqualTo(1)); }
public void get_RunAt_OneRun_ReturnsZero() { TsString tss = CreateOneRunString(); Assert.That(tss.get_RunAt(3), Is.EqualTo(0)); }
public void get_RunAt_TwoRunsFirstRun_ReturnsZero() { TsString tss = CreateTwoRunString(); Assert.That(tss.get_RunAt(15), Is.EqualTo(0)); }
public void get_RunAt_Empty_ReturnsZero() { TsString tss = CreateEmptyString(); Assert.That(tss.get_RunAt(0), Is.EqualTo(0)); }