Skip to content

Improve Tests/Samples #14833

Closed
Closed

Description

  • Don't do Assert.IsNull() for int/double properties, as we know codegen will always provide a default value. Instead check (if it makes sense) Great or GreaterEqual
  • Make sure that in our samples, we manage the case where no values (entities, key phrases, etc) are returned
  • Make return types of methods in our samples be explicit (Response<t>) instead of using implicit cast (T)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Cognitive - Text Analytics

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions