# Testing

A brief overview on how to test using the samples.

*Assuming sample files are in the same directory as executables*

## Python

```bash
python persistent_segment_tree.py < sample.in.1
```

## C++

```bash
g++ persistent_segment_tree.cpp -o persistent_segment_tree
./persistent_segment_tree < sample.in.1
```

## Java

```bash
javac PersistentSegmentTree.java
java PersistentSegmentTree < sample.in.1
```
