Klebert-Engineering / simfil

The Simple Map Filter Language Interpreter 🌳.
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Do not allow zero Geometry capacity #49

Closed josephbirkner closed 1 year ago

josephbirkner commented 1 year ago

Before the geometry is assigned with a vertex array, a negative array handle denotes the desired initial capacity, +1, because there is always the additional offset point. So there can not (and must never be) an initial capacity of zero.

github-actions[bot] commented 1 year ago

Test Results

βŸβ€„1 files  Β±0β€‚β€ƒβŸβ€„1 suites  Β±0   11s :stopwatch: -1s 39 tests Β±0  39 :heavy_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0  40 runs  Β±0  40 :heavy_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0 

Results for commit 2ad40d14. ± Comparison against base commit d0c2b14b.

github-actions[bot] commented 1 year ago
Package Line Rate Branch Rate Health
include.simfil 55% 37% βž–
include.simfil.model 74% 64% βž–
src 63% 35% βž–
src.model 76% 42% βž–
Summary 65% (2267 / 3492) 37% (1888 / 5126) βž–

Minimum allowed line rate is 50%