content: /*************************************************************************
  *                                                                        *
  *  This file is part of the 20n/act project.                             *
  *  20n/act enables DNA prediction for synthetic biology/bioengineering.  *
  *  Copyright (C) 2017 20n Labs, Inc.                                     *
  *                                                                        *
  *  Please direct all queries to act@20n.com.                             *
  *                                                                        *
  *  This program is free software: you can redistribute it and/or modify  *
  *  it under the terms of the GNU General Public License as published by  *
  *  the Free Software Foundation, either version 3 of the License, or     *
  *  (at your option) any later version.                                   *
  *                                                                        *
  *  This program is distributed in the hope that it will be useful,       *
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of        *
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
  *  GNU General Public License for more details.                          *
  *                                                                        *
  *  You should have received a copy of the GNU General Public License     *
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  *                                                                        *
  *************************************************************************/
  
  package com.act.biointerpretation.desalting;
  
  import com.fasterxml.jackson.annotation.JsonProperty;
  
  public class ROTestCase {
  
    @JsonProperty("input")
    private String input;
  
    @JsonProperty("expected")
    private String expected;
  
    @JsonProperty("label")
    private String label;
  
    public String getInput() {
      return input;
    }
  
    public void setInput(String input) {
      this.input = input;
    }
  
    public String getExpected() {
      return expected;
    }
  
    public void setExpected(String expected) {
      this.expected = expected;
    }
  
    public String getLabel() {
      return label;
    }
  
    public void setLabel(String label) {
      this.label = label;
    }
  
    @Override
    public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
  
      ROTestCase that = (ROTestCase) o;
  
      if (input != null ? !input.equals(that.input) : that.input != null) return false;
      if (expected != null ? !expected.equals(that.expected) : that.expected != null) return false;
      return label != null ? label.equals(that.label) : that.label == null;
  
    }
  
    @Override
    public int hashCode() {
      int result = input != null ? input.hashCode() : 0;
      result = 31 * result + (expected != null ? expected.hashCode() : 0);
      result = 31 * result + (label != null ? label.hashCode() : 0);
      return result;
    }
  }
  