public void AdvanceTest_FromStart()
        {
            StreamLocation expected = new StreamLocation(1, 1, 2);

            StreamLocationTracker sut = new StreamLocationTracker();
            sut.Advance();

            Assert.AreEqual(expected, sut.Location);
        }
        public void AdvanceTest_WithNewLineTrue()
        {
            StreamLocation startState = new StreamLocation(7, 5, 3);
            StreamLocation expected = new StreamLocation(8, 6, 1);

            StreamLocationTracker sut = new StreamLocationTracker(startState);
            sut.Advance(true);

            Assert.AreEqual(expected, sut.Location);
        }
        public void AdvanceTest_FromArbitraryState()
        {
            StreamLocation startState = new StreamLocation(7, 5, 3);
            StreamLocation expected = new StreamLocation(8, 5, 4);

            StreamLocationTracker sut = new StreamLocationTracker(startState);
            sut.Advance();

            Assert.AreEqual(expected, sut.Location);
        }
        public void StreamLocationTrackerConstructorTest()
        {
            StreamLocation expected = new StreamLocation(0, 1, 1);

            StreamLocationTracker sut = new StreamLocationTracker();

            Assert.AreEqual(expected, sut.Location);
        }
        public void NewLineTest_FromStart()
        {
            StreamLocation expected = new StreamLocation(1, 2, 1);

            StreamLocationTracker sut = new StreamLocationTracker();
            sut.NewLine();

            Assert.AreEqual(expected, sut.Location);
        }