#
using DiffMesh, LinearAlgebra

n = 100

dl = rand(n-1)
dd = rand(n)
du = rand(n-1)

Td = Tridiagonal(dl,dd,du)
Tt = Tdg(dl,dd,du)

u = rand(n)

@test Td *u ≈ Tt *u atol=1e-12
@test Td'*u ≈ Tt'*u atol=1e-12
