[Snek] [keith-packard/snek] 12c343: test: Add operator precedence tests

Keith Packard noreply at github.com
Mon Mar 29 14:33:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/keith-packard/snek
  Commit: 12c3439cabb2426a826e4595f847f96694b90c9d
      https://github.com/keith-packard/snek/commit/12c3439cabb2426a826e4595f847f96694b90c9d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M test/Makefile
    A test/pass-precedence.py

  Log Message:
  -----------
  test: Add operator precedence tests

Snek has inverted the precedence of bitwise and and xor operators;
this test checks those and other less common operators to make sure
they are ordered correctly.

Signed-off-by: Keith Packard <keithp at keithp.com>




More information about the Snek mailing list