Add validation test for createSampler with different maxAnisotropy values (#425)
Add validation test for createSampler with different maxAnisotropy values (#425)

* createSampler invalid test for maxAnisotropy

* type assertion

* eq

* prettier

* address review comments
gpuweb/cts,gpuweb/cts,gpuweb/cts