public void TestPosition()
        {
            string   filePath = System.IO.Path.Combine(Directory.GetCurrentDirectory(), "File/GCodes/Cura.gcode");
            BaseFile file     = new BaseFile(filePath, DuetAPI.CodeChannel.File);
            Code     code;

            // Line 1
            code = file.ReadCode();
            Assert.AreEqual(0, code.FilePosition);

            // Line 2
            code = file.ReadCodeAsync().Result;
            Assert.AreEqual(15, code.FilePosition);

            // Line 3
            code = file.ReadCode();
            Assert.AreEqual(26, code.FilePosition);
        }