Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1036307 // test_leftArrowScript_ifdef

JavaX fragment (include)

1  
!include once #1034831 // Gazelle 22 Function Include for Testing
2  
3  
svoid test_leftArrowScript_ifdef() {
4  
  S src = "1 ifdef bla plus 1 endifdef";
5  
  assertEqualsVerbose(1, leftArrowVerbose(src));
6  
  new GazelleV_LeftArrowScriptParser parser;
7  
  parser.setFlag("bla");
8  
  assertEqualsVerbose(2, leftArrowVerbose(parser, src));
9  
}

Author comment

Began life as a copy of #1035656

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036307
Snippet name: test_leftArrowScript_ifdef
Eternal ID of this version: #1036307/3
Text MD5: d61efad3e80938e8840fd1709d5a7df4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-15 18:26:20
Source code size: 330 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 178
Version history: 2 change(s)
Referenced in: [show references]