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

8
LINES

< > BotCompany Repo | #1008372 // Test findDollarValue

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1727L/12K/41K).

!7

p {
  set findDollarValue_debug;
  assertEquals(13.5, findDollarValue("That is $13.50."));
  assertEquals(15.0, findDollarValue("That is $15"));
  assertEquals(null, findDollarValue("lalala 15"));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008372
Snippet name: Test findDollarValue
Eternal ID of this version: #1008372/3
Text MD5: e843a678658ecf86f8c364d21ea9d1e7
Transpilation MD5: d39ea40efa37d51ae83870f98f8c6a86
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-09 23:36:28
Source code size: 209 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 340 / 464
Version history: 2 change(s)
Referenced in: [show references]