TechnionYP5779 / team4

29 stars 2 forks source link

use tdd to define a class that defines a list of pairs of real numbers #76

Closed dormaayan closed 5 years ago

dormaayan commented 6 years ago

this list could be used e.g., for representing a set of data points to draw in an xy graph, e.g., x is time and y is weight. the series is the list of data points.

ameeramer commented 5 years ago

@dormaayan what should recod(x,y) do?

dormaayan commented 5 years ago

@ameeramer It should define a record of x and y.

yossigil commented 5 years ago

THIS IS BUGGY

@Override public boolean equals(Object obj) { if (obj.hashCode() == this.hashCode() && obj == this) return true;

PLEASE FIX THIS

yossigil commented 5 years ago

no tests for the fix