Skip to content

Instantly share code, notes, and snippets.

@okram
Created February 4, 2020 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okram/19e1228eb164536ab317bbf1d7c2a3dc to your computer and use it in GitHub Desktop.
Save okram/19e1228eb164536ab317bbf1d7c2a3dc to your computer and use it in GitHub Desktop.
assertResult("[8|a->3,b->8]") {
trav(int(3))(int.to("a").plus(5).to("b"))
}
@okram
Copy link
Author

okram commented Feb 4, 2020

    assertResult("[11|a->3,b->8]") {
      trav(int(3))(int.to("a").plus(5).to("b").plus(int.from("a")))
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment