Skip to content

Commit

Permalink
Update tests to work with new VSF.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwippermann committed Feb 6, 2022
1 parent 57a9f93 commit 6fb00e4
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions test/specs/specification-data.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const testSpecificationData = function(source, specificationData) {
const { units } = specificationData;
expect(_.keys(units).sort()).eql([
'Bars',
'BecquerelPerCubicMeter',
'Btus',
'CubicMeters',
'CubicMetersPerHour',
Expand Down Expand Up @@ -108,6 +109,7 @@ const testSpecificationData = function(source, specificationData) {
it('should have types', () => {
expect(_.keys(specificationData.types).sort()).eql([
'DateTime_1_None',
'Number_0_000001_Volts',
'Number_0_0001_KilogramsPerCubicMeter',
'Number_0_001_CubicMeters',
'Number_0_001_Hertz',
Expand Down Expand Up @@ -147,6 +149,7 @@ const testSpecificationData = function(source, specificationData) {
'Number_0_1_Percent',
'Number_0_1_Volts',
'Number_0_1_WattsPerSquareMeter',
'Number_1_BecquerelPerCubicMeter',
'Number_1_Btus',
'Number_1_CubicMeters',
'Number_1_CubicMetersPerHour',
Expand Down Expand Up @@ -1292,6 +1295,63 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1510_0100_074_2_0',
'_0010_1510_0100_076_2_0',
'_0010_1510_0100_084_4_0',
'_0010_155A_0100_000_2_0',
'_0010_155A_0100_002_2_0',
'_0010_155A_0100_004_2_0',
'_0010_155A_0100_006_2_0',
'_0010_155A_0100_008_1_0',
'_0010_155A_0100_009_1_0',
'_0010_155A_0100_010_1_0',
'_0010_155A_0100_012_4_0',
'_0010_155A_0100_016_4_0',
'_0010_155A_0100_020_1_1',
'_0010_155A_0100_020_1_16',
'_0010_155A_0100_020_1_2',
'_0010_155A_0100_020_1_4',
'_0010_155A_0100_020_1_8',
'_0010_155A_0100_020_4_0',
'_0010_155A_0100_024_4_0',
'_0010_155A_0100_028_4_0',
'_0010_1632_0100_000_2_0',
'_0010_1632_0100_002_2_0',
'_0010_1632_0100_004_2_0',
'_0010_1632_0100_006_2_0',
'_0010_1632_0100_008_2_0',
'_0010_1632_0100_010_2_0',
'_0010_1632_0100_012_2_0',
'_0010_1632_0100_014_2_0',
'_0010_1632_0100_016_4_0',
'_0010_1632_0100_020_4_0',
'_0010_1632_0100_024_4_0',
'_0010_1632_0100_028_4_0',
'_0010_1632_0100_032_2_0',
'_0010_1632_0100_034_1_0',
'_0010_1632_0100_034_1_1',
'_0010_1632_0100_035_1_0',
'_0010_1632_0100_036_1_0',
'_0010_1632_0100_037_1_0',
'_0010_1632_0100_038_1_0',
'_0010_1632_0100_039_1_0',
'_0010_1632_0100_040_2_0',
'_0010_1632_0100_042_2_0',
'_0010_1632_0100_044_2_0',
'_0010_1632_0100_046_2_0',
'_0010_1632_0100_048_1_0',
'_0010_1632_0100_049_1_0',
'_0010_1632_0100_050_2_0',
'_0010_1632_0100_052_1_131072',
'_0010_1632_0100_052_1_262144',
'_0010_1632_0100_052_1_524288',
'_0010_1632_0100_052_1_65536',
'_0010_1632_0100_060_1_128',
'_0010_1632_0100_060_1_16',
'_0010_1632_0100_060_1_2',
'_0010_1632_0100_060_1_32',
'_0010_1632_0100_060_1_4',
'_0010_1632_0100_060_1_64',
'_0010_1632_0100_060_1_8',
'_0010_1632_0100_061_1_1',
'_0010_1632_0100_064_4_0',
'_0010_1711_0100_000_2_0',
'_0010_1711_0100_002_2_0',
'_0010_1711_0100_004_2_0',
Expand Down Expand Up @@ -1402,6 +1462,10 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1830_0100_012_4_0',
'_0010_1830_0100_016_4_0',
'_0010_1830_0100_020_4_0',
'_0010_2170_0100_000_2_0',
'_0010_2170_0100_002_2_0',
'_0010_2170_0100_004_2_0',
'_0010_2170_0100_006_2_0',
'_0010_2211_0100_000_2_0',
'_0010_2211_0100_002_2_0',
'_0010_2211_0100_004_2_0',
Expand Down Expand Up @@ -2701,6 +2765,7 @@ const testSpecificationData = function(source, specificationData) {
'_0010_7120_0100_000_2_0',
'_0010_7120_0100_002_1_0',
'_0010_7130_0100_000_4_0',
'_0010_7130_0100_004_4_0',
'_0010_7130_0100_008_4_0',
'_0010_7130_0100_012_4_0',
'_0010_7130_0100_016_4_0',
Expand Down Expand Up @@ -5214,6 +5279,8 @@ const testSpecificationData = function(source, specificationData) {
'_1522',
'_1523',
'_1524',
'_155A',
'_1632',
'_1711',
'_1720',
'_1721',
Expand Down Expand Up @@ -5424,6 +5491,7 @@ const testSpecificationData = function(source, specificationData) {
'_207E',
'_207F',
'_2111',
'_2170',
'_2211',
'_2213',
'_2231',
Expand Down Expand Up @@ -6000,6 +6068,8 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1410_0100',
'_0010_1420_0100',
'_0010_1510_0100',
'_0010_155A_0100',
'_0010_1632_0100',
'_0010_1711_0100',
'_0010_1711_0101',
'_0010_1711_0140',
Expand All @@ -6008,6 +6078,7 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1740_0100',
'_0010_1800_0100',
'_0010_1830_0100',
'_0010_2170_0100',
'_0010_2211_0100',
'_0010_2213_0100',
'_0010_2231_0100',
Expand Down Expand Up @@ -6322,6 +6393,8 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1410_0100',
'_0010_1420_0100',
'_0010_1510_0100',
'_0010_155A_0100',
'_0010_1632_0100',
'_0010_1711_0100',
'_0010_1711_0101',
'_0010_1711_0140',
Expand All @@ -6330,6 +6403,7 @@ const testSpecificationData = function(source, specificationData) {
'_0010_1740_0100',
'_0010_1800_0100',
'_0010_1830_0100',
'_0010_2170_0100',
'_0010_2211_0100',
'_0010_2213_0100',
'_0010_2231_0100',
Expand Down

0 comments on commit 6fb00e4

Please sign in to comment.