{"id":"v001","input":{"backsight_direction":"S 30 W","foresight_direction":"N 80 E","turn_convention":"shortest","reference":"geodetic"},"expect":{"result.deflection.value":50.0,"result.signed_deflection.value":50.0,"result.turn":"right","result.forward_tangent_azimuth.value":30.0,"result.foresight_azimuth.value":80.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v002","input":{"backsight_direction":"N 10 E","foresight_direction":"S 40 E","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":50.0,"result.signed_deflection.value":-50.0,"result.turn":"left","result.forward_tangent_azimuth.value":190.0,"result.foresight_azimuth.value":140.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v003","input":{"backsight_direction":"S 30 W","foresight_direction":"N 80 E","turn_convention":"left","reference":"grid"},"expect":{"result.deflection.value":310.0,"result.signed_deflection.value":-310.0,"result.turn":"left","result.forward_tangent_azimuth.value":30.0,"result.foresight_azimuth.value":80.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v004","input":{"backsight_direction":"N 10 E","foresight_direction":"S 40 E","turn_convention":"right","reference":"geodetic"},"expect":{"result.deflection.value":310.0,"result.signed_deflection.value":310.0,"result.turn":"right","result.forward_tangent_azimuth.value":190.0,"result.foresight_azimuth.value":140.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v005","input":{"backsight_direction":"S 0 W","foresight_direction":"N 0 E","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":0.0,"result.foresight_azimuth.value":0.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v006","input":{"backsight_direction":"N 0 E","foresight_direction":"N 0 E","turn_convention":"shortest","reference":"grid"},"expect":{"result.deflection.value":180.0,"result.signed_deflection.value":180.0,"result.turn":"reverse","result.forward_tangent_azimuth.value":180.0,"result.foresight_azimuth.value":0.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v007","input":{"backsight_direction":"270","foresight_direction":"100 gon","turn_convention":"shortest","reference":"geodetic"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":90.0,"result.foresight_azimuth.value":90.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v008","input":{"backsight_direction":"90","foresight_direction":"270","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":270.0,"result.foresight_azimuth.value":270.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v009","input":{"backsight_direction":"45","foresight_direction":"225","turn_convention":"shortest","reference":"grid"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":225.0,"result.foresight_azimuth.value":225.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v010","input":{"backsight_direction":"225","foresight_direction":"45","turn_convention":"shortest","reference":"geodetic"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":45.0,"result.foresight_azimuth.value":45.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v011","input":{"backsight_direction":"N 45 W","foresight_direction":"S 15 W","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":60.0,"result.signed_deflection.value":60.0,"result.turn":"right","result.forward_tangent_azimuth.value":135.0,"result.foresight_azimuth.value":195.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v012","input":{"backsight_direction":"N 45 W","foresight_direction":"S 75 E","turn_convention":"shortest","reference":"grid"},"expect":{"result.deflection.value":30.0,"result.signed_deflection.value":-30.0,"result.turn":"left","result.forward_tangent_azimuth.value":135.0,"result.foresight_azimuth.value":105.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v013","input":{"backsight_direction":"359","foresight_direction":"181","turn_convention":"shortest","reference":"geodetic"},"expect":{"result.deflection.value":2.0,"result.signed_deflection.value":2.0,"result.turn":"right","result.forward_tangent_azimuth.value":179.0,"result.foresight_azimuth.value":181.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v014","input":{"backsight_direction":"1","foresight_direction":"179","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":2.0,"result.signed_deflection.value":-2.0,"result.turn":"left","result.forward_tangent_azimuth.value":181.0,"result.foresight_azimuth.value":179.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v015","input":{"backsight_direction":"100 gon","foresight_direction":"200 gon","turn_convention":"shortest","reference":"grid"},"expect":{"result.deflection.value":90.0,"result.signed_deflection.value":-90.0,"result.turn":"left","result.forward_tangent_azimuth.value":270.0,"result.foresight_azimuth.value":180.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v016","input":{"backsight_direction":"300 gon","foresight_direction":"200 gon","turn_convention":"shortest","reference":"geodetic"},"expect":{"result.deflection.value":90.0,"result.signed_deflection.value":90.0,"result.turn":"right","result.forward_tangent_azimuth.value":90.0,"result.foresight_azimuth.value":180.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v017","input":{"backsight_direction":"S 20°15'30\" E","foresight_direction":"N 40°45'30\" E","turn_convention":"shortest","reference":"assumed"},"expect":{"result.deflection.value":61.01666666666665,"result.signed_deflection.value":61.01666666666665,"result.turn":"right","result.forward_tangent_azimuth.value":339.7416666666667,"result.foresight_azimuth.value":40.75833333333333,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v018","input":{"backsight_direction":"S 20°15'30\" W","foresight_direction":"N 40°45'30\" W","turn_convention":"shortest","reference":"grid"},"expect":{"result.deflection.value":61.01666666666665,"result.signed_deflection.value":-61.01666666666665,"result.turn":"left","result.forward_tangent_azimuth.value":20.258333333333326,"result.foresight_azimuth.value":319.2416666666667,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v019","input":{"backsight_direction":"0","foresight_direction":"90","turn_convention":"right","reference":"geodetic"},"expect":{"result.deflection.value":270.0,"result.signed_deflection.value":270.0,"result.turn":"right","result.forward_tangent_azimuth.value":180.0,"result.foresight_azimuth.value":90.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v020","input":{"backsight_direction":"0","foresight_direction":"90","turn_convention":"left","reference":"assumed"},"expect":{"result.deflection.value":90.0,"result.signed_deflection.value":-90.0,"result.turn":"left","result.forward_tangent_azimuth.value":180.0,"result.foresight_azimuth.value":90.0,"result.reference":"assumed","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v021","input":{"backsight_direction":"270","foresight_direction":"90","turn_convention":"right","reference":"grid"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":90.0,"result.foresight_azimuth.value":90.0,"result.reference":"grid","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v022","input":{"backsight_direction":"270","foresight_direction":"90","turn_convention":"left","reference":"geodetic"},"expect":{"result.deflection.value":0.0,"result.signed_deflection.value":0.0,"result.turn":"straight","result.forward_tangent_azimuth.value":90.0,"result.foresight_azimuth.value":90.0,"result.reference":"geodetic","ok":true},"source":"Ghilani and Wolf, Elementary Surveying, deflection-angle convention","sourceVersion":"16th edition (2021)","tolerance":{"result.deflection.value":{"rel":1e-12,"abs":1e-09},"result.signed_deflection.value":{"rel":1e-12,"abs":1e-09},"result.forward_tangent_azimuth.value":{"rel":1e-12,"abs":1e-09},"result.foresight_azimuth.value":{"rel":1e-12,"abs":1e-09}}}
{"id":"v023","input":{"foresight_direction":"N 10 E"},"expect":{"ok":false,"error.code":"INVALID_INPUT","error.field":"/backsight_direction"},"source":"add-survey-suite scenarios","sourceVersion":"2026","tolerance":{}}
{"id":"v024","input":{"backsight_direction":"N 10 E"},"expect":{"ok":false,"error.code":"INVALID_INPUT","error.field":"/foresight_direction"},"source":"add-survey-suite scenarios","sourceVersion":"2026","tolerance":{}}
{"id":"v025","input":{"backsight_direction":"N 95 E","foresight_direction":"N 10 E"},"expect":{"ok":false,"error.code":"INVALID_INPUT","error.field":"/backsight_direction"},"source":"add-survey-suite scenarios","sourceVersion":"2026","tolerance":{}}
{"id":"v026","input":{"backsight_direction":"N 10 E","foresight_direction":"401 gon"},"expect":{"ok":false,"error.code":"INVALID_INPUT","error.field":"/foresight_direction"},"source":"add-survey-suite scenarios","sourceVersion":"2026","tolerance":{}}
