Initial commit
This commit is contained in:
15
test/GCode.test.js
Normal file
15
test/GCode.test.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const GCode = require('../robot/GCode.js');
|
||||
|
||||
|
||||
test('G91 ist ein GCode Command', () => {
|
||||
var x = GCode.containsCommand("G91") ;
|
||||
expect(x).toBe(true);
|
||||
});
|
||||
|
||||
test('G28 ist ein GCode Command', () => {
|
||||
var x = GCode.containsCommand("G28") ;
|
||||
expect(x).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user