@@ -548,3 +548,165 @@ def test_guardedpattern_error(self):
548548 jast .guardedpattern ,
549549 conditions = [jast .Constant (jast .BoolLiteral (True ))],
550550 )
551+
552+ def test_Or (self ):
553+ or_ = jast .Or ()
554+ self .assertIsInstance (or_ , jast .Or )
555+ self .assertIsInstance (or_ , jast .JAST )
556+ self ._test_iteration (or_ )
557+
558+ def test_And (self ):
559+ and_ = jast .And ()
560+ self .assertIsInstance (and_ , jast .And )
561+ self .assertIsInstance (and_ , jast .JAST )
562+ self ._test_iteration (and_ )
563+
564+ def test_BitOr (self ):
565+ bit_or = jast .BitOr ()
566+ self .assertIsInstance (bit_or , jast .BitOr )
567+ self .assertIsInstance (bit_or , jast .JAST )
568+ self ._test_iteration (bit_or )
569+
570+ def test_BitAnd (self ):
571+ bit_and = jast .BitAnd ()
572+ self .assertIsInstance (bit_and , jast .BitAnd )
573+ self .assertIsInstance (bit_and , jast .JAST )
574+ self ._test_iteration (bit_and )
575+
576+ def test_BitXor (self ):
577+ bit_xor = jast .BitXor ()
578+ self .assertIsInstance (bit_xor , jast .BitXor )
579+ self .assertIsInstance (bit_xor , jast .JAST )
580+ self ._test_iteration (bit_xor )
581+
582+ def test_Eq (self ):
583+ equal = jast .Eq ()
584+ self .assertIsInstance (equal , jast .Eq )
585+ self .assertIsInstance (equal , jast .JAST )
586+ self ._test_iteration (equal )
587+
588+ def test_NotEq (self ):
589+ not_eq = jast .NotEq ()
590+ self .assertIsInstance (not_eq , jast .NotEq )
591+ self .assertIsInstance (not_eq , jast .JAST )
592+ self ._test_iteration (not_eq )
593+
594+ def test_Lt (self ):
595+ lt = jast .Lt ()
596+ self .assertIsInstance (lt , jast .Lt )
597+ self .assertIsInstance (lt , jast .JAST )
598+ self ._test_iteration (lt )
599+
600+ def test_LtE (self ):
601+ lte = jast .LtE ()
602+ self .assertIsInstance (lte , jast .LtE )
603+ self .assertIsInstance (lte , jast .JAST )
604+ self ._test_iteration (lte )
605+
606+ def test_Gt (self ):
607+ gt = jast .Gt ()
608+ self .assertIsInstance (gt , jast .Gt )
609+ self .assertIsInstance (gt , jast .JAST )
610+ self ._test_iteration (gt )
611+
612+ def test_GtE (self ):
613+ gte = jast .GtE ()
614+ self .assertIsInstance (gte , jast .GtE )
615+ self .assertIsInstance (gte , jast .JAST )
616+ self ._test_iteration (gte )
617+
618+ def test_LShift (self ):
619+ lshift = jast .LShift ()
620+ self .assertIsInstance (lshift , jast .LShift )
621+ self .assertIsInstance (lshift , jast .JAST )
622+ self ._test_iteration (lshift )
623+
624+ def test_RShift (self ):
625+ rshift = jast .RShift ()
626+ self .assertIsInstance (rshift , jast .RShift )
627+ self .assertIsInstance (rshift , jast .JAST )
628+ self ._test_iteration (rshift )
629+
630+ def test_URShift (self ):
631+ u_rshift = jast .URShift ()
632+ self .assertIsInstance (u_rshift , jast .URShift )
633+ self .assertIsInstance (u_rshift , jast .JAST )
634+ self ._test_iteration (u_rshift )
635+
636+ def test_Add (self ):
637+ add = jast .Add ()
638+ self .assertIsInstance (add , jast .Add )
639+ self .assertIsInstance (add , jast .JAST )
640+ self ._test_iteration (add )
641+
642+ def test_Sub (self ):
643+ sub = jast .Sub ()
644+ self .assertIsInstance (sub , jast .Sub )
645+ self .assertIsInstance (sub , jast .JAST )
646+ self ._test_iteration (sub )
647+
648+ def test_Mult (self ):
649+ mult = jast .Mult ()
650+ self .assertIsInstance (mult , jast .Mult )
651+ self .assertIsInstance (mult , jast .JAST )
652+ self ._test_iteration (mult )
653+
654+ def test_Div (self ):
655+ div = jast .Div ()
656+ self .assertIsInstance (div , jast .Div )
657+ self .assertIsInstance (div , jast .JAST )
658+ self ._test_iteration (div )
659+
660+ def test_Mod (self ):
661+ mod = jast .Mod ()
662+ self .assertIsInstance (mod , jast .Mod )
663+ self .assertIsInstance (mod , jast .JAST )
664+ self ._test_iteration (mod )
665+
666+ def test_PreInc (self ):
667+ pre_inc = jast .PreInc ()
668+ self .assertIsInstance (pre_inc , jast .PreInc )
669+ self .assertIsInstance (pre_inc , jast .JAST )
670+ self ._test_iteration (pre_inc )
671+
672+ def test_PreDec (self ):
673+ pre_dec = jast .PreDec ()
674+ self .assertIsInstance (pre_dec , jast .PreDec )
675+ self .assertIsInstance (pre_dec , jast .JAST )
676+ self ._test_iteration (pre_dec )
677+
678+ def test_UAdd (self ):
679+ u_add = jast .UAdd ()
680+ self .assertIsInstance (u_add , jast .UAdd )
681+ self .assertIsInstance (u_add , jast .JAST )
682+ self ._test_iteration (u_add )
683+
684+ def test_USub (self ):
685+ u_sub = jast .USub ()
686+ self .assertIsInstance (u_sub , jast .USub )
687+ self .assertIsInstance (u_sub , jast .JAST )
688+ self ._test_iteration (u_sub )
689+
690+ def test_Invert (self ):
691+ invert = jast .Invert ()
692+ self .assertIsInstance (invert , jast .Invert )
693+ self .assertIsInstance (invert , jast .JAST )
694+ self ._test_iteration (invert )
695+
696+ def test_Not (self ):
697+ not_ = jast .Not ()
698+ self .assertIsInstance (not_ , jast .Not )
699+ self .assertIsInstance (not_ , jast .JAST )
700+ self ._test_iteration (not_ )
701+
702+ def test_PostInc (self ):
703+ post_inc = jast .PostInc ()
704+ self .assertIsInstance (post_inc , jast .PostInc )
705+ self .assertIsInstance (post_inc , jast .JAST )
706+ self ._test_iteration (post_inc )
707+
708+ def test_PostDec (self ):
709+ post_dec = jast .PostDec ()
710+ self .assertIsInstance (post_dec , jast .PostDec )
711+ self .assertIsInstance (post_dec , jast .JAST )
712+ self ._test_iteration (post_dec )
0 commit comments