From 492e82cad24b020ef1ed202ca516108210393b56 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 22 Nov 2018 10:42:13 +0100 Subject: [PATCH] Update unittesting_tab.md --- docs/unittesting_tab.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/unittesting_tab.md b/docs/unittesting_tab.md index df12a1a320..d87ecab087 100644 --- a/docs/unittesting_tab.md +++ b/docs/unittesting_tab.md @@ -17,11 +17,17 @@ Run Tests This execute tests. The execution is run in a separate environment and the result is displayed below. | Available functions | Supported types | + | ------------- | ------------- | + | `Assert.ok()` | `bool` | + | `Assert.equal()` | `uint`, `int`, `bool`, `address`, `bytes32`, `string` | + | `Assert.notEqual()` | `uint`, `int`, `bool`, `address`, `bytes32`, `string` | + | `Assert.greaterThan()` | `uint`, `int` | + | `Assert.lesserThan()` | `uint`, `int` | see [https://github.com/ethereum/remix/blob/master/remix-tests/tests/examples_4/SafeMath_test.sol](https://github.com/ethereum/remix/blob/master/remix-tests/tests/examples_4/SafeMath_test.sol) for some code sample @@ -32,4 +38,4 @@ Continuous integration remix-tests is also a CLI, it can be used in a continuous integration environement which support node.js. Please find more information in the [remix-test repository](https://github.com/ethereum/remix/tree/master/remix-tests) -See also: example [Su Squares contract](https://github.com/su-squares/ethereum-contract/tree/e542f37d4f8f6c7b07d90a6554424268384a4186) and [https://travis-ci.org/su-squares/ethereum-contract/builds/446186067](Travis build) that uses remix-tests for continuous integration testing. +See also: example [Su Squares contract](https://github.com/su-squares/ethereum-contract/tree/e542f37d4f8f6c7b07d90a6554424268384a4186) and [Travis build](https://travis-ci.org/su-squares/ethereum-contract/builds/446186067) that uses remix-tests for continuous integration testing.