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

mlange-42 / arche-pixel / 6789378614

07 Nov 2023 07:28PM CUT coverage: 86.552% (+3.0%) from 83.59%
6789378614

Pull #46

github

web-flow
Merge f22905710 into 318673dd0
Pull Request #46: Add more tests for plots and window

1403 of 1621 relevant lines covered (86.55%)

212408.88 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