Skip to content

Commit

Permalink
refactor: 🚚 cloudnativebasecamp_algo_01_dart -> playground
Browse files Browse the repository at this point in the history
  • Loading branch information
moazelsawaf committed Jun 30, 2023
1 parent 9014bf1 commit f7ea4cc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
1 change: 0 additions & 1 deletion bin/cloudnativebasecamp_algo_01_dart.dart

This file was deleted.

12 changes: 12 additions & 0 deletions bin/playground.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
void main(List<String> arguments) {
// Welcome to the Playground!
//
// This is a place where you can play with the algorithms in the repository.
// Feel free to add your own code and run it.
//
// For example:
//
// final circleRadius = 2.5;
// final circleArea = calculateCircleArea(circleRadius);
// print('The area of a circle with radius $circleRadius is $circleArea');
}
1 change: 0 additions & 1 deletion test/cloudnativebasecamp_algo_01_dart_test.dart

This file was deleted.

15 changes: 15 additions & 0 deletions test/playground_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
void main() {
// Welcome to the Playground Test!
//
// Here you can write tests for the code in playground.dart file.
//
// For example:
//
// test('calculateCircleArea() returns correct value', () {
// final circleRadius = 2.5;

// final circleArea = calculateCircleArea(circleRadius);

// expect(circleArea, 19.634954084936208);
// });
}

0 comments on commit f7ea4cc

Please sign in to comment.