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

15
LINES

< > BotCompany Repo | #1035535 // test_leftArrowScript_magicSwitch

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (33357L) is out of date.

!include once #1034831 // Gazelle 22 Function Include for Testing

scope test_leftArrowScript_magicSwitch

svoid test_leftArrowScript_magicSwitch() {
  var test = new TestFunctionValues<S, O>(l1 leftArrowVerbose);
  
  // function inversion with an extra argument (2 in total)
  test.io([[1 plus 2]], 3).runAndClear();
  
  // function inversion with no further arguments
  // var f : File
  // rewrites "f f2s" to "f2s file"
  test.io([[userDir, f2s]], f2s(userDir())).runAndClear();
}

Author comment

Began life as a copy of #1034763

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035535
Snippet name: test_leftArrowScript_magicSwitch
Eternal ID of this version: #1035535/3
Text MD5: 348994fc3dc1c2420a007e38e2fda6fb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-11 00:00:31
Source code size: 500 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 120 / 181
Version history: 2 change(s)
Referenced in: [show references]