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

8
LINES

< > BotCompany Repo | #1027884 // test_parseFragmentExpressionToFunctionCall (OK)

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

Libraryless. Click here for Pure Java version (2968L/19K).

svoid test_parseFragmentExpressionToFunctionCall() {
  assertEqualsVerbose(FunctionCall("hasWord", SymVar("$x")),
    parseFragmentExpressionToFunctionCall(
      formatWithFragmentsAndDollarSymVars("hasWord($x)")));
  assertEqualsVerbose(FunctionCall("ewic_notSame", SymVar("$x"), "zimmer"),
    parseFragmentExpressionToFunctionCall(
      formatWithFragmentsAndDollarSymVars("ewic_notSame($x, *)", "zimmer")));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027884
Snippet name: test_parseFragmentExpressionToFunctionCall (OK)
Eternal ID of this version: #1027884/3
Text MD5: ff5dcea1c30f0df330aaaad9189e582a
Transpilation MD5: 14f670065988c2a5d3a06a7bf9e3e964
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 14:50:25
Source code size: 422 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 199 / 296
Version history: 2 change(s)
Referenced in: [show references]