---
title: "Discussion on \"FakeAsync and Clock as Rescuers for Your async Game Logic Tests\" | Hashnode"
description: "Discussion on \"FakeAsync and Clock as Rescuers for Your async Game Logic Tests\". Introduction\nIn my city building game you can gather resources from the map. But at first you need to travel to the location. This takes some time. All the logic related to such tasks is contained inside a ProgressDuration class that has such logic:\n..."
url: "https://hashnode.com/posts/fakeasync-and-clock-as-rescuers-for-your-async-game-logic-tests/5f9ff559de85d46a77d5f40a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [FakeAsync and Clock as Rescuers for Your async Game Logic Tests](https://gladimdim.org/fakeasync-and-clock-as-rescuers-for-your-async-game-logic-tests?utm_source=hashnode&utm_medium=feed)

Introduction In my city building game you can gather resources from the map. But at first you need to travel to the location. This takes some time. All the logic related to such tasks is contained inside a ProgressDuration class that has such logic: ...

Nov 2, 2020 · 4 min read · gladimdim.org  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)

## Written by

[Dmytro Gladkyi](https://hashnode.com/@dmytrogladkyi)

@dmytrogladkyi · Kyiv, Ukraine

  
[View profile](https://hashnode.com/@dmytrogladkyi)

Unity & Web Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
