Libraryless. Click here for Pure Java version (1695L/12K/37K).
!752 !include #1002412 // Turing // DEH TESTS static void tests() { biggerNumber(); longerWord(); } static void biggerNumber() { for (int i = 0; i < 10; i++) { int a = rand(1000), b = rand(1000); add(format3("yes or no: is * a bigger number than *?", a, b), a > b); } } static void longerWord() { for (int i = 0; i < 5; i++) { int a = rand(10), b = rand(10); S wa = randomID(a), wb = randomID(b); add(format3("answer me: is * a longer word than *?", wa, wb), a > b); } }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002332 |
| Snippet name: | The Turing Test! (developing...) |
| Eternal ID of this version: | #1002332/1 |
| Text MD5: | d44e96471be588c026d550ae6a016b6a |
| Transpilation MD5: | e2ca4ca4f9a9cef390aec0ff8586e979 |
| Author: | stefan |
| Category: | eleu |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-01-20 00:05:26 |
| Source code size: | 531 bytes / 25 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1078 / 2502 |
| Referenced in: | [show references] |