1 | svoid test_philosophyBot1_dropCommentParagraphs() {
|
2 | PhilosophyBot1 bot = new([[ |
3 | /* comment */ |
4 | |
5 | fact |
6 | ]]); |
7 | bot.run(); |
8 | assertEqualsVerbose(ll("fact"), cloneList(bot.facts));
|
9 | |
10 | bot = new PhilosophyBot1([[ |
11 | /* comment */ |
12 | |
13 | theory x {
|
14 | a => b |
15 | } |
16 | ]]); |
17 | //bot.onFactAdded.add(fact -> printStackTrace()); |
18 | bot.run(); |
19 | assertStartsWith_rev("theory ", first(bot.facts));
|
20 | } |
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: | 417 / 482 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |