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

17
LINES

< > BotCompany Repo | #1012122 // Test isProperlyQuoted2 (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (919L/7K).

!7

p {
  assertTrue(isProperlyQuoted2([["abc"]]));
  assertTrue(isProperlyQuoted2([[""]]));
  assertTrue(isProperlyQuoted2([["a"]]));
  assertFalse(isProperlyQuoted2([[a"]]));
  assertFalse(isProperlyQuoted2([["a]]));
  assertFalse(isProperlyQuoted2([["a" "b"]]));
  assertFalse(isProperlyQuoted2([[a]]));
  assertFalse(isProperlyQuoted2([[]]));
  assertFalse(isProperlyQuoted2([["a" "b]]));
  assertFalse(isProperlyQuoted2([["a""]]));
  assertTrue(isProperlyQuoted2([["a\""]]));
  assertFalse(isProperlyQuoted2([["a\"]]));
  print("OK");
}

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: #1012122
Snippet name: Test isProperlyQuoted2 (OK)
Eternal ID of this version: #1012122/2
Text MD5: aa6171076afb751219338563c4b5cb44
Transpilation MD5: fc10b31e55470a51c788330dce6f8aae
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-20 09:56:01
Source code size: 557 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 588 / 1194
Version history: 1 change(s)
Referenced in: [show references]