How to Test Your Components

Now we will show you, how one can very easily test a single component via RLgraph’s testing system. As an example, we will use our custom component built from scratch in this chapter here.

Writing a New Test Case with Python’s Unittest Module

Test 1: Writing a New Value

Test 2: Retrieving the Value

Test 3: Testing for the Correct Computation Results