### ----------------------------------------------------
### -- Math::Splines
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: t/03-bernstein-basis.rakutest
### ----------------------------------------------------
use v6.d;
use Test;

#use lib <. lib>;
use Math::Splines;

plan *;

## 1
isa-ok bernstein-basis(:3degree, :2index, argument => Whatever), Callable;

## 2
isa-ok bernstein-basis(:3degree, :0index, argument => Whatever), Callable;

## 3
is bernstein-basis(4, 3, 0.5), 0.25;

done-testing;


