InseeFr / Trevas

Transformation engine and validator for statistics.
MIT License
12 stars 5 forks source link

Improve tests #5

Open NicoLaval opened 4 years ago

NicoLaval commented 4 years ago

Add use cases & increase coverage.

Going further, a good way to share tests between langages could be to test VTL engine using VTL

hadrienk commented 4 years ago

A TCK could look like this:

shouldBeTrue := 1 = 1.0;
assertTrue(shouldBeTrue)

shouldBeFalse := 2 = 1.0;
assertFalse(shouldBeTrue)
NicoLaval commented 4 years ago

A TCK could look like this:

shouldBeTrue := 1 = 1.0;
assertTrue(shouldBeTrue)

shouldBeFalse := 2 = 1.0;
assertFalse(shouldBeFalse)