Libraryless. Click here for Pure Java version (956L/6K/22K).
!752 p { assertEquals("crazy", findOneOfTheWords("the crazy girl", "crazy", "nice")); assertEquals("nice", findOneOfTheWords("the nice girl", "crazy", "nice")); assertEquals(null, findOneOfTheWords("a funny girl", "crazy", "nice")); print("ok"); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003808 |
Snippet name: | Test findOneOfTheWords |
Eternal ID of this version: | #1003808/1 |
Text MD5: | 593b8e393114684350611635df9b865c |
Transpilation MD5: | 294650e4a31953da9a6a905cff92fa0b |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-27 19:33:49 |
Source code size: | 263 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 655 |
Referenced in: | -