---
title: "(WIP) Creating Environments: Testing Your Environment"
---

# (WIP) Creating Environments: Testing Your Environment

## Introduction

Now that our environment is complete, we can test it to make sure it works as intended. PettingZoo has a built-in testing suite that can be used to test your environment.

## Code
(add this code below the rest of the code in the file)

```{eval-rst}
.. literalinclude:: ../../../tutorials/EnvironmentCreation/3-ActionMasking.py
   :language: python
   :caption: /custom-environment/env/custom_environment.py
   :lines: 148-
```