import {statementType} from "../_utils";
import * as Statements from "../../../src/abap/2_statements/statements";

const tests = [
  "add 2 to lv_foo.",
  "add 2 to\n lv_foo.",
  "add 2 to\r\n lv_foo.",
  "add zcl_class=>c_diagonal to lo_foo->mode.",
  "ADD sdf-dsf THEN sdf-dsf UNTIL sdf-dsf GIVING sdf-sdf.",
  `ADD sdfsd THEN sdfsd UNTIL sdfsd TO sdfds.`,
  `ADD foo THEN foo UNTIL foo GIVING foo ACCORDING TO foo.`,
];

statementType(tests, "ADD", Statements.Add);