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

20
LINES

< > BotCompany Repo | #1025942 // test_philosophyBot1_dropCommentParagraphs

JavaX fragment (include)

svoid test_philosophyBot1_dropCommentParagraphs() {
  PhilosophyBot1 bot = new([[
    /* comment */
    
    fact
  ]]);
  bot.run();
  assertEqualsVerbose(ll("fact"), cloneList(bot.facts));
  
  bot = new PhilosophyBot1([[
    /* comment */

    theory x {
      a => b
    }
  ]]);
  //bot.onFactAdded.add(fact -> printStackTrace());
  bot.run();
  assertStartsWith_rev("theory ", first(bot.facts));
}

Author comment

Began life as a copy of #1025760

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: #1025942
Snippet name: test_philosophyBot1_dropCommentParagraphs
Eternal ID of this version: #1025942/9
Text MD5: c55315acf32b6366601f90c5f75c3282
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-22 17:08:39
Source code size: 422 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 198
Version history: 8 change(s)
Referenced in: [show references]