;&nbsp;Immediately

## → &nbsp;&nbsp;Everytime accessed
]


---
# Test evaluation

.seventy-two-left[
```scala
test("a lazy val is only evaluated when first accessed") {
  var counter = 0

  lazy val action = counter += 1
  assert(counter == 0)

  action
  assert(counter == 1)

  action
  assert(counter == 1)
}
```
]

</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>
    var slideshow = remark.create({
        ratio: "16:9",
        slideNumberFormat: '',
   