Added argument validation

This commit is contained in:
VirtualColossus 2019-11-28 13:22:51 +00:00
parent 820bd2f867
commit 61ab9a904f
3 changed files with 111 additions and 89 deletions

View file

@ -5,7 +5,6 @@
* @copyright Crown Copyright 2019
* @license Apache-2.0
*/
import OperationError from "../errors/OperationError.mjs";
export const SWITCHES = [
{name: "Up (.)", value: "."},
@ -152,4 +151,4 @@ export const INIT_PATTERNS = {
2: [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1]
}
}
};
};