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

mlange-42 / arche-pixel / 9206262010

23 May 2024 10:17AM CUT coverage: 88.275% (+0.03%) from 88.246%
9206262010

push

github

web-flow
Add optional property `XLim` to `Lines` plot (#54)

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

1438 of 1629 relevant lines covered (88.28%)

222101.43 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