add coverage/build test

This commit is contained in:
Konstantin8105 2022-11-27 13:40:01 +03:00
parent 18ffd04b2a
commit 9d3608bac1
10 changed files with 236 additions and 15 deletions

View file

@ -8,6 +8,8 @@ import (
rl "github.com/gen2brain/raylib-go/raylib"
)
var exit_key = false
func main() {
screenWidth := int32(800)
screenHeight := int32(450)
@ -38,7 +40,7 @@ func main() {
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
for !(rl.WindowShouldClose() || exit_key) {
if buttonClicked {
progressValue += 0.1
if progressValue >= 1.1 {