[db][tests] variables

This commit is contained in:
Maxime Alves LIRMM@home 2020-07-27 18:08:51 +02:00
commit 6aa3cc37ae
8 changed files with 198 additions and 10 deletions

View file

@ -0,0 +1,13 @@
INSERT INTO var_value (type, address, value) VALUES
('A', 10, 42),
('A', 11, 24),
('A', 10, 20),
('A', 10, 0),
('I', 5010, 42),
('I', 5011, 24),
('I', 5010, 20),
('I', 5010, 0),
('D', 10, 1),
('D', 11, 1),
('D', 10, 1),
('D', 10, 0);

13
db/test_variables.sql Normal file
View file

@ -0,0 +1,13 @@
INSERT INTO variable (type, address, unit) VALUES
('A', 10, 'deg'),
('A', 11, 'deg'),
('A', 12, 'deg'),
('A', 13, 'deg'),
('I', 5010, 'deg'),
('I', 5011, 'deg'),
('I', 5012, 'deg'),
('I', 5013, 'deg'),
('D', 10, 'bit'),
('D', 11, 'bit'),
('D', 12, 'bit'),
('D', 13, 'bit');