 
   defmodule RPNForthThingTest do
     use ExUnit.Case, async: true
+
+    import ExUnit.CaptureIO
 
     test "normalizing input list" do
       assert RPNForthThing.normalize(["1", "5", "+"]) === [1, 5, "+"]

      # assert RPNForthThing.initialize(~w[ 3 5 < ? 33 44 ]) == 33
      assert RPNForthThing.initialize(~w[ 3 5 > if 33 else 44 then ]) == 44
      # assert RPNForthThing.initialize(~w[ 3 5 > ? 33 44 ]) == 44
    end

    test "and or not" do

    last_val
  end

  def compute([], [], _) do
    # just bail
  end

  def compute([ "end" | _ ], stack, _) do
    if Enum.count(stack) == 1 do
      List.first(stack)
    else
      stack
    end
  end

  def compute([ "+" | remaining_input], [y, x | stack], dict) do
    compute(remaining_input, [x + y | stack], dict)
  end
