• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mlange-42 / arche-pixel / 8971918437

06 May 2024 03:47PM CUT coverage: 88.232% (+0.02%) from 88.217%
8971918437

push

github

web-flow
Skip NaN values in `Lines` plot, allowing for partial lines (#52)

* Skip NaN values in `Lines` plot, allowing for partial lines
* Add a test with NaN values

2 of 2 new or added lines in 1 file covered. (100.0%)

1432 of 1623 relevant lines covered (88.23%)

222921.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/window/run.go
1
package window
2

3
import (
4
        "github.com/gopxl/pixel/v2/backends/opengl"
5
        "github.com/mlange-42/arche-model/model"
6
)
7

8
// Run is essential to run simulations that feature arche-pixel UI components.
9
// Call this function from the main function of your application, with a Model as argument.
10
// This is necessary, so that Model.Run runs on the main thread.
11
func Run(model *model.Model) {
×
12
        opengl.Run(model.Run)
×
13
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc