Libraryless. Click here for Pure Java version (956L/6K/22K).
1 | !752 |
2 | |
3 | p { |
4 | assertEquals("crazy", findOneOfTheWords("the crazy girl", "crazy", "nice")); |
5 | assertEquals("nice", findOneOfTheWords("the nice girl", "crazy", "nice")); |
6 | assertEquals(null, findOneOfTheWords("a funny girl", "crazy", "nice")); |
7 | print("ok"); |
8 | } |
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: | 520 / 656 |
Referenced in: | [show references] |