public boolean isInputSelected(int inputId) {
        return (inputMask & (1L << (inputId - 1))) != 0;
    }
@Test
    void testIsInputSelected() {
        assertThat(new Builder().build().isInputSelected(1)).isFalse();
        assertThat(new Builder().select(2).build().isInputSelected(1)).isFalse();

        assertThat(new Builder().select(1).build().isInputSelected(1)).isTrue();
        assertThat(new Builder().select(1).select(2).build().isInputSelected(1)).isTrue();
        assertThat(new Builder().select(-1).build().isInputSelected(1)).isTrue();

        assertThat(new Builder().select(64).build().isInputSelected(64)).isTrue();
    }