import os,sys
sys.path.append(os.getcwd())
from isperfectsquare import isperfectsquare
import pytest


@pytest.mark.parametrize('row, result',[
	("hello", False), 
	(6.25, False), 
	(625, True), 
	(-625, False), 
	(4, True), 
	(100, True), 
	("100", True), 
])
def test_isperfectsquare(row, result):
    assert isperfectsquare(row) == result
