mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
vector/internal/math: Add tests
This commit is contained in:
parent
18b267fd4f
commit
cb1dcc37a0
@ -120,6 +120,15 @@ func TestTriangulate(t *testing.T) {
|
||||
},
|
||||
Out: nil,
|
||||
},
|
||||
{
|
||||
In: []Point{
|
||||
{0, 0},
|
||||
{0.5, 0.5},
|
||||
{1.5, 1.5},
|
||||
{1, 1},
|
||||
},
|
||||
Out: nil,
|
||||
},
|
||||
{
|
||||
In: []Point{
|
||||
{0, 0},
|
||||
|
Loading…
Reference in New Issue
Block a user