.. Copyright 2018 The RLgraph authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ============================================================================ .. image:: images/rlcore-logo-full.png :scale: 25% :alt: 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 +++++++++++++++++++++++++++++++++++++++++++++++++++