# Testing
{id: testing}


## Testing 1
{id: testing-1}

![](examples/test1/mymath.cr)
![](examples/test1/use_mymath.cr)
![](examples/test1/mymath_spec.cr)


```
crystal spec .
```

## Testing with Spec
{id: testing-with-spec}

![](spec/spec_helper.cr)

![](spec/demo_spec.cr)

![](spec/todo_spec.cr)

```
crystal spec
```


