Skip to content

Commit 94d0142

Browse files
committed
chore: testing md files
1 parent 471d975 commit 94d0142

File tree

9 files changed

+60
-5
lines changed

9 files changed

+60
-5
lines changed

.idea/sonarlint/issuestore/3/7/37a2bd0ac1d596813e668677d4cda443af3c82b2

Whitespace-only changes.

.idea/sonarlint/issuestore/e/f/ef5c795fa997c1fde7572ebc50019a7f542b6de3

Whitespace-only changes.

.idea/sonarlint/issuestore/index.pb

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/sonarlint/securityhotspotstore/3/7/37a2bd0ac1d596813e668677d4cda443af3c82b2

Whitespace-only changes.

.idea/sonarlint/securityhotspotstore/e/f/ef5c795fa997c1fde7572ebc50019a7f542b6de3

Whitespace-only changes.

.idea/sonarlint/securityhotspotstore/index.pb

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/CnpjValidator.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# CnpjValidator
2+
3+
The `CnpjValidator` class is used to validate CNPJ numbers. It has a single method, `cnpjIsValid`, which receives
4+
a `String` as a parameter and returns a `boolean` value.
5+
6+
## How to use
7+
8+
```java
9+
// You can import the class or use the full path
10+
11+
import io.github.multiform_validator.CnpjValidator;
12+
13+
public class Main {
14+
public static void main(String[] args) {
15+
String cnpjTrue = "69.807.668/0001-41";
16+
String cnpjFalse = "61.807.661/0001-48";
17+
System.out.println(CnpjValidator.cnpjIsValid(cnpjTrue)); // true
18+
System.out.println(CnpjValidator.cnpjIsValid(cnpjFalse)); // false
19+
}
20+
}
21+
```

docs/classes/CpfValidator.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# CpfValidator
2+
3+
The `CpfValidator` class is used to validate CPF numbers. It has a single method, `cpfIsValid`, which receives a `String` as a parameter and returns a `boolean` value.
4+
5+
## How to use
6+
7+
```java
8+
// You can also import the method as static or use the full path
9+
10+
import static io.github.multiform_validator.CpfValidator.cpfIsValid;
11+
12+
public class Main {
13+
public static void main(String[] args) {
14+
String cpfTrue = "123.456.789-09";
15+
String cpfFalse = "123.456.789-10";
16+
System.out.println(cpfIsValid(cpfTrue)); // true
17+
System.out.println(cpfIsValid(cpfFalse)); // false
18+
}
19+
}
20+
```
21+
22+
## Other methods
23+
24+
- [CnpjValidator](https://multiform-validator.github.io/java/classes/CnpjValidator)
25+
26+
## Return to [Home](https://multiform-validator.github.io/java/)
27+
[]: # (end)

0 commit comments

Comments
 (0)