package ru.job4j.condition;

import org.junit.Test;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

public class PointTest {
    @Test
    public void whenPointOnLineThenFalse() {
        Point a = new Point(1, 1);
        boolean rsl = a.is(2, 1);
        assertThat(rsl, is(false));
    }
}