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

8
LINES

< > BotCompany Repo | #1027142 // test_gazelle_deepTransform (OK)

JavaX fragment (include)

svoid test_gazelle_deepTransform() {
  assertEqualsVerbose("hello (people of the (bla bla)) world",
    gazelle_deepTransform(s -> eqic(s, "whole wide") ? "bla bla" : null, "hello (people of the (whole wide)) world"));
  assertEqualsVerbose("hello (people of the bla) world",
    gazelle_deepTransform(s -> eqic(s, "whole wide") ? "bla" : null, "hello (people of the (whole wide)) world"));
  assertEqualsVerbose("hello (people of the {bla blu}) world",
    gazelle_deepTransform(s -> eqic(s, "whole wide") ? "bla blu" : null, "hello (people of the {whole wide}) world"));
}

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: #1027142
Snippet name: test_gazelle_deepTransform (OK)
Eternal ID of this version: #1027142/3
Text MD5: 07edd2e874b102d35145d5285747a423
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-22 11:04:19
Source code size: 581 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 225
Version history: 2 change(s)
Referenced in: [show references]