about summary refs log tree commit diff stats
path: root/html
ModeNameSize
-rw-r--r--000organization.cc.html10601log stats plain blame
-rw-r--r--001help.cc.html24119log stats plain blame
-rw-r--r--002test.cc.html15025log stats plain blame
-rw-r--r--003trace.cc.html46053log stats plain blame
-rw-r--r--003trace.test.cc.html19565log stats plain blame
-rw-r--r--010vm.cc.html84793log stats plain blame
-rw-r--r--011load.cc.html39008log stats plain blame
-rw-r--r--012transform.cc.html11617log stats plain blame
-rw-r--r--013update_operation.cc.html4850log stats plain blame
-rw-r--r--014literal_string.cc.html19897log stats plain blame
-rw-r--r--015literal_noninteger.cc.html6772log stats plain blame
-rw-r--r--016dilated_reagent.cc.html14810log stats plain blame
-rw-r--r--017parse_tree.cc.html8221log stats
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Mu - 076scenario_console_test.mu</title>
<meta name="Generator" content="Vim/7.4">
<meta name="plugin-version" content="vim7.4_v1">
<meta name="syntax" content="none">
<meta name="settings" content="use_css,pre_wrap,no_foldcolumn,expand_tabs,prevent_copy=">
<meta name="colorscheme" content="minimal">
<style type="text/css">
<!--
pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; }
body { font-family: monospace; color: #eeeeee; background-color: #080808; }
* { font-size: 1.05em; }
.muScenario { color: #00af00; }
.Comment { color: #9090ff; }
.Constant { color: #00a0a0; }
.Special { color: #ff6060; }
-->
</style>

<script type='text/javascript'>
<!--

-->
</script>
</head>
<body>
<pre id='vimCodeElement'>
<span class="Comment"># To check our support for consoles in scenarios, rewrite tests from</span>
<span class="Comment"># scenario_console.mu</span>
<span class="Comment"># Tests for console interface.</span>

<span class="muScenario">scenario</span> read-key-in-mu [
  assume-console [
    type <span class="Constant">[abc]</span>
  ]
  run [
    <span class="Constant">1</span>:character, console:address, <span class="Constant">2</span>:boolean<span class="Special"> &lt;- </span>read-key console:address
    <span class="Constant">3</span>:character, console:address, <span class="Constant">4</span>:boolean<span class="Special"> &lt;- </span>read-key console:address
    <span class="Constant">5</span>:character, console:address, <span class="Constant">6</span>:boolean<span class="Special"> &lt;- </span>read-key console:address
    <span class="Constant">7</span>:character, console:address, <span class="Constant">8</span>:boolean<span class="Special"> &lt;- </span>read-key console:address
  ]
  memory-should-contain [
    <span class="Constant">1</span><span class="Special"> &lt;- </span><span class="Constant">97</span>  <span class="Comment"># 'a'</span>
    <span class="Constant">2</span><span class="Special"> &lt;- </span><span class="Constant">1</span>
    <span class="Constant">3</span><span class="Special"> &lt;- </span><span class="Constant">98</span>  <span class="Comment"># 'b'</span>
    <span class="Constant">4</span><span class="Special"> &lt;- </span><span class="Constant">1</span>
    <span class="Constant">5</span><span class="Special"> &lt;- </span><span class="Constant">99</span>  <span class="Comment"># 'c'</span>
    <span class="Constant">6</span><span class="Special"> &lt;- </span><span class="Constant">1</span>
    <span class="Constant">7</span><span class="Special"> &lt;- </span><span class="Constant">0</span>  <span class="Comment"># eof</span>
    <span class="Constant">8</span><span class="Special"> &lt;- </span><span class="Constant">1</span>
  ]
]
</pre>
</body>
</html>
<!-- vim: set foldmethod=manual : -->
lass='button' href='/akkartik/mu/log/html/051scenario_test.mu.html?h=hlt&id=fc19980d91e306df87b308d0c2875a2dcaf4b5c7'>log stats plain blame -rw-r--r--052tangle.cc.html36593log stats plain blame -rw-r--r--053recipe_header.cc.html64173log stats plain blame -rw-r--r--054static_dispatch.cc.html76965log stats plain blame -rw-r--r--055shape_shifting_container.cc.html71609log stats plain blame -rw-r--r--056shape_shifting_recipe.cc.html123335log stats plain blame -rw-r--r--057immutable.cc.html52566log stats plain blame -rw-r--r--060rewrite_literal_string.cc.html12411log stats plain blame -rw-r--r--061text.mu.html77770log stats plain blame -rw-r--r--062rewrite_stash.cc.html16535log stats plain blame -rw-r--r--063array.mu.html3716log stats plain blame -rw-r--r--064list.mu.html21850log stats plain blame -rw-r--r--065random.cc.html7907log stats plain blame -rw-r--r--066duplex_list.mu.html43822log stats plain blame -rw-r--r--067stream.mu.html3605log stats plain blame -rw-r--r--068hash.cc.html41684log stats plain blame -rw-r--r--069table.mu.html6523log stats plain blame -rw-r--r--070recipe.cc.html33973log stats plain blame -rw-r--r--071scheduler.cc.html65292log stats plain blame -rw-r--r--072wait.cc.html44334log stats plain blame -rw-r--r--073deep_copy.cc.html43745log stats plain blame -rw-r--r--074channel.mu.html32102log stats plain blame -rw-r--r--080display.cc.html60435log stats plain blame -rw-r--r--081print.mu.html52166log stats plain blame -rw-r--r--082scenario_screen.cc.html45817log stats plain blame -rw-r--r--083scenario_screen_test.mu.html2660log stats plain blame -rw-r--r--084console.mu.html8015log stats plain blame -rw-r--r--085scenario_console.cc.html40581log stats plain blame -rw-r--r--086scenario_console_test.mu.html3100log stats plain blame -rw-r--r--087file.cc.html3202log stats plain blame -rw-r--r--090trace_browser.cc.html33927log stats plain blame -rw-r--r--091run_interactive.cc.html56484log stats plain blame -rw-r--r--092persist.cc.html18408log stats plain blame -rw-r--r--998check_type_pointers.cc.html4313log stats plain blame -rw-r--r--999spaces.cc.html7127log stats plain blame -rw-r--r--channel.mu.html3597log stats plain blame -rw-r--r--chessboard-test.png21450log stats plain blame -rw-r--r--chessboard.mu.html43703log stats plain blame -rw-r--r--console.mu.html1805log stats plain blame -rw-r--r--counters.mu.html3270log stats plain blame -rw-r--r--display.mu.html2069log stats plain blame -rw-r--r--edit.png39022log stats plain blame d---------edit611log stats plain -rw-r--r--example1.mu.html1271log stats plain blame -rw-r--r--example1.png14621log stats plain blame -rw-r--r--expected-result.png9417log stats plain blame -rw-r--r--f2c-1.mu180log stats plain blame -rw-r--r--f2c-1.png23490log stats plain blame -rw-r--r--f2c-2.mu188log stats plain blame -rw-r--r--f2c-2.png24515log stats plain blame -rw-r--r--factorial-test.png17652log stats plain blame -rw-r--r--factorial.mu.html2670log stats plain blame -rw-r--r--factorial.png31770log stats plain blame -rw-r--r--fork.mu.html1537log stats plain blame -rw-r--r--fork.png19933log stats plain blame -rw-r--r--global.mu.html1797log stats plain blame -rw-r--r--nqueens.mu.html6793log stats plain blame -rw-r--r--screen.mu.html2998log stats plain blame -rw-r--r--static_dispatch.mu.html2339log stats plain blame -rw-r--r--tangle.mu.html2885log stats plain blame -rw-r--r--tangle.png42367log stats plain blame -rw-r--r--tmux-vim-sandbox.png95749log stats plain blame -rw-r--r--tracing-test.mu204log stats plain blame -rw-r--r--tracing-test.png25666log stats plain blame -rw-r--r--unexpected-result.png9357log stats plain blame -rw-r--r--x.mu.html1547log stats plain blame