public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } ThresholdConfigValue that = ( ThresholdConfigValue )o; return(Value == that.Value && Objects.Equals(Type, that.Type)); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void parseFalse() public virtual void ParseFalse() { ThresholdConfigValue configValue = parse("false"); assertEquals(KEEP_LAST_FILE, configValue); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void parseTrue() public virtual void ParseTrue() { ThresholdConfigValue configValue = parse("true"); assertEquals(NO_PRUNING, configValue); }