2024-10-21 01:50:34 +00:00
|
|
|
import "package:test/test.dart";
|
2024-10-20 21:19:20 +00:00
|
|
|
void main() {
|
2024-10-21 01:50:34 +00:00
|
|
|
group("Dummy Test", () {
|
|
|
|
test("Always passes", () {
|
|
|
|
expect(true, isTrue);
|
|
|
|
});
|
2024-10-20 21:19:20 +00:00
|
|
|
|
2024-10-21 01:50:34 +00:00
|
|
|
test("Basic arithmetic", () {
|
|
|
|
expect(2 + 2, equals(4));
|
|
|
|
});
|
2024-10-20 21:19:20 +00:00
|
|
|
|
2024-10-21 01:50:34 +00:00
|
|
|
test("String manipulation", () {
|
|
|
|
String testString = "Protevus Platform";
|
|
|
|
expect(testString.contains("Platform"), isTrue);
|
|
|
|
expect(testString.toLowerCase(), equals("protevus platform"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|