Refactor `assert_sparkline`
Merge pull request #1 from splattael/refactor-assertion

Refactor `assert_sparkline`