using Test
using LinearAlgebraicRepresentation
Lar = LinearAlgebraicRepresentation
using ViewerGL
GL = ViewerGL

@testset "GLUtils.jl" begin

   # function lar4mesh(verts,cells) # cells are triangles
   @testset "lar4mesh" begin
      @test
      @test
      @test
      @test
   end

   # function two2three(points)
   @testset "two2three" begin
      @test
      @test
      @test
      @test
   end

   # function glGenBuffer()
   @testset "glGenBuffer" begin
      @test
      @test
      @test
      @test
   end

   # function glGenVertexArray()
   @testset "glGenVertexArray" begin
      @test
      @test
      @test
      @test
   end

   # function glLineWidth()
   @testset "glLineWidth" begin
      @test
      @test
      @test
      @test
   end

   # function glPointSize()
   @testset "glPointSize" begin
      @test
      @test
      @test
      @test
   end

   # function glCheckError(actionName="")
		  @testset "glCheckError" begin
      @test
      @test
      @test
      @test
   end

   # function glErrorMessage()
   @testset "glErrorMessage" begin
      @test
      @test
      @test
      @test
   end

   # function glDeleteLater(fun::Function)
   @testset "glDeleteLater" begin
      @test
      @test
      @test
      @test
   end

   # function glDeleteNow()
   @testset "glDeleteNow" begin
      @test
      @test
      @test
      @test
   end

   # function normalize2(V::Lar.Points; flag=true, fold=-1)
   @testset "normalize2" begin
      @test
      @test
      @test
      @test
   end

   # function normalize3(V::Lar.Points, flag=true)
   @testset "normalize3" begin
      @test
      @test
      @test
      @test
   end

end
